Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/douchuan/algorithm
/ drop
Method
drop
src/common/drop.rs:17–19 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
15
// drops counter +1
16
impl Drop for Elem {
17
fn drop(&mut self) {
18
DROPS.with(|drops| drops.fetch_add(1, Ordering::SeqCst));
19
}
20
}
21
22
impl Ctx {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected