MCPcopy Create free account
hub / github.com/docknetwork/crypto / from_iter

Method from_iter

utils/src/extend_some.rs:30–32  ·  view source on GitHub ↗
(iter: I)

Source from the content-addressed store, hash-verified

28
29impl<T, C: Default + FromIterator<T>> FromIterator<Option<T>> for ExtendSome<C> {
30 fn from_iter<I: IntoIterator<Item = Option<T>>>(iter: I) -> Self {
31 Self(C::from_iter(iter.into_iter().flatten()))
32 }
33}
34
35#[cfg(feature = "parallel")]

Callers

nothing calls this directly

Calls 1

into_iterMethod · 0.45

Tested by

no test coverage detected