Skip to content

Commit

Permalink
remove obsolete lines
Browse files Browse the repository at this point in the history
  • Loading branch information
stlankes committed Aug 7, 2023
1 parent 626de89 commit ca5b9c5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/mm/allocator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ mod tests {
.lock(),
);

let mut allocator = GlobalAllocator::empty();
let layout = Layout::from_size_align(1, 1).unwrap();
// we have 4 kbyte memory
assert!(unsafe { !allocator.alloc(layout.clone()).is_null() });
Expand Down

0 comments on commit ca5b9c5

Please sign in to comment.