Crates.io | fmt-iter |
lib.rs | fmt-iter |
version | 0.2.1 |
source | src |
created_at | 2021-04-19 14:05:15.786392 |
updated_at | 2021-04-26 14:43:20.836898 |
description | Print all items from an iterator |
homepage | |
repository | https://github.com/KSXGitHub/fmt-iter |
max_upload_size | |
id | 386670 |
size | 7,794 |
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