Skip to content

Commit 6fc83b6

Browse files
committed
x fmt
1 parent 7981a5c commit 6fc83b6

File tree

1 file changed

+3
-3
lines changed
  • compiler/rustc_const_eval/src/interpret

1 file changed

+3
-3
lines changed

compiler/rustc_const_eval/src/interpret/memory.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -693,9 +693,9 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
693693
}
694694

695695
pub fn is_alloc_live(&self, id: AllocId) -> bool {
696-
self.tcx.try_get_global_alloc(id).is_some() ||
697-
self.memory.alloc_map.contains_key_ref(&id) ||
698-
self.memory.extra_fn_ptr_map.contains_key(&id)
696+
self.tcx.try_get_global_alloc(id).is_some()
697+
|| self.memory.alloc_map.contains_key_ref(&id)
698+
|| self.memory.extra_fn_ptr_map.contains_key(&id)
699699
}
700700

701701
/// Obtain the size and alignment of an allocation, even if that allocation has

0 commit comments

Comments
 (0)