Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
nameexhaustion committed Dec 9, 2024
1 parent 3db9b5f commit 6812e52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ mod inner {
}
}

/// Returns shared scratch space after clearing.
pub(super) fn empty_nodes_scratch_mut(&mut self) -> &mut UnitVec<Node> {
self.nodes_scratch.clear();
&mut self.nodes_scratch
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ mod inner {
}
}

/// Returns shared scratch space after clearing.
pub fn empty_nodes_scratch_mut(&mut self) -> &mut UnitVec<Node> {
self.scratch.clear();
&mut self.scratch
Expand Down

0 comments on commit 6812e52

Please sign in to comment.