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

Method size_hint

atomic-core/src/pristine/txn/helpers.rs:287–290  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

285 }
286
287 fn size_hint(&self) -> (usize, Option<usize>) {
288 let remaining = self.edges.len() - self.index;
289 (remaining, Some(remaining))
290 }
291}
292
293impl ExactSizeIterator for AdjIterator {}

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected