Skip to content

Commit 49d44bd

Browse files
committed
format
1 parent a5108f5 commit 49d44bd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/util/heap/layout/map64.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ impl Map64 {
3333
let mut high_water = vec![Address::ZERO; MAX_SPACES];
3434
let mut base_address = vec![Address::ZERO; MAX_SPACES];
3535

36-
assert!(cfg!(target_pointer_width = "64"), "Use Map32 for 32-bit targets");
36+
assert!(
37+
cfg!(target_pointer_width = "64"),
38+
"Use Map32 for 32-bit targets"
39+
);
3740
for i in 0..MAX_SPACES {
3841
#[cfg(target_pointer_width = "64")]
3942
let base = unsafe { Address::from_usize(i << LOG_SPACE_SIZE_64) };

0 commit comments

Comments
 (0)