Skip to content

Commit

Permalink
Cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
qinsoon committed Oct 31, 2024
1 parent 0971cda commit 07a01c7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/util/alloc/bumpallocator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,11 @@ impl<VM: VMBinding> BumpAllocator<VM> {
offset: usize,
stress_test: bool,
) -> Address {
if self
.space
.handle_obvious_oom_request(self.tls, size, !self.get_context().is_no_gc_on_fail())
{
if self.space.handle_obvious_oom_request(
self.tls,
size,
!self.get_context().is_no_gc_on_fail(),
) {
return Address::ZERO;
}

Expand Down

0 comments on commit 07a01c7

Please sign in to comment.