Skip to main content

with_scratch

Function with_scratch 

Source
fn with_scratch<Out>(f: impl FnOnce(&mut Vec<u64>) -> Out) -> Out
Expand description

Run f with this thread’s read scratch, cleared of any previous use.