Function once_cell::race::once_box::_dummy

source ·
fn _dummy()
Expand description
struct S(*mut ());
unsafe impl Sync for S {}

fn share<T: Sync>(_: &T) {}
share(&once_cell::race::OnceBox::<S>::new());