fmt-iter
Print all items from an iterator.
Usage Examples
Print all items from an array slice
use FmtIter;
println!;
Expected Output:
012345
Repeat a certain character multiple times
use repeat;
println!;
Expected Output:
xxxxx
Print all items from an iterator.
use fmt_iter::FmtIter;
println!("{}", FmtIter::from(&[0, 12, 345]));
Expected Output:
012345
use fmt_iter::repeat;
println!("{}", repeat('x', 5));
Expected Output:
xxxxx