fmt-iter

Crates.iofmt-iter
lib.rsfmt-iter
version0.2.1
sourcesrc
created_at2021-04-19 14:05:15.786392
updated_at2021-04-26 14:43:20.836898
descriptionPrint all items from an iterator
homepage
repositoryhttps://github.com/KSXGitHub/fmt-iter
max_upload_size
id386670
size7,794
Khải (KSXGitHub)

documentation

https://docs.rs/fmt-iter

README

fmt-iter

Test Crates.io Version

Print all items from an iterator.

Usage Examples

Print all items from an array slice

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

Expected Output:

012345

Repeat a certain character multiple times

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

Expected Output:

xxxxx

License

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

Commit count: 60

cargo fmt