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

Method from_iter

atomic-core/src/crdt/apply/conflict.rs:669–673  ·  view source on GitHub ↗
(iter: T)

Source from the content-addressed store, hash-verified

667
668impl FromIterator<CrdtConflict> for CrdtConflictTracker {
669 fn from_iter<T: IntoIterator<Item = CrdtConflict>>(iter: T) -> Self {
670 Self {
671 conflicts: iter.into_iter().collect(),
672 }
673 }
674}
675
676// Tests

Callers

nothing calls this directly

Calls 1

into_iterMethod · 0.45

Tested by

no test coverage detected