Skip to content

Commit

Permalink
Rustfmt...again
Browse files Browse the repository at this point in the history
  • Loading branch information
nekevss committed Nov 5, 2022
1 parent efc621d commit 1e1d4b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boa_gc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ impl Collector {
// Drops every node
let unmarked_node = Box::from_raw(node.as_ptr());
sweep_head.set(unmarked_node.header.next.take());

// Need to stay consistent when it comes to `mem::forget` approach vs. Drop in place
mem::forget(unmarked_node)
}
Expand Down

0 comments on commit 1e1d4b8

Please sign in to comment.