MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / drop

Method drop

atomic-repository/src/query_diagnostics.rs:38–40  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

36 struct Reset;
37 impl Drop for Reset {
38 fn drop(&mut self) {
39 RESOURCES.with(|slot| *slot.borrow_mut() = None);
40 }
41 }
42 RESOURCES.with(|slot| {
43 let mut slot = slot.borrow_mut();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected