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.