mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
remove temporary variable
This commit is contained in:
@@ -114,8 +114,7 @@ fn make_shim<'a, 'tcx>(tcx: ty::TyCtxt<'a, 'tcx, 'tcx>,
|
||||
add_call_guards::add_call_guards(&mut result);
|
||||
debug!("make_shim({:?}) = {:?}", instance, result);
|
||||
|
||||
let result = tcx.alloc_mir(result);
|
||||
result
|
||||
tcx.alloc_mir(result)
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, PartialEq)]
|
||||
|
||||
Reference in New Issue
Block a user