Function fallible_iterator::once
source ยท pub fn once<T, E>(value: T) -> Once<T, E>
Expand description
Creates an iterator that yields an element exactly once.
pub fn once<T, E>(value: T) -> Once<T, E>
Creates an iterator that yields an element exactly once.