fmt-iter

Test Crates.io Version

Print all items from an iterator.

Usage Examples

Print all items from an array slice

rust use fmt_iter::FmtIter; println!("{}", FmtIter::from(&[0, 12, 345]));

Expected Output:

txt 012345

Repeat a certain character multiple times

rust use fmt_iter::repeat; println!("{}", repeat('x', 5));

Expected Output:

txt xxxxx

License

MIT © Hoàng Văn Khải.