Function charon_lib::common::write_iterator
source ยท pub fn write_iterator<T: Copy>(
write_t: &dyn Fn(&mut Formatter<'_>, T) -> Result<(), Error>,
f: &mut Formatter<'_>,
it: impl Iterator<Item = T>,
) -> Result<(), Error>
Expand description
Rk.: in practice, T should be a shared ref