iter-debug 1.0.2

impl Debug for iterators using a wrapper
Documentation
  • Coverage
  • 100%
    6 out of 6 items documented1 out of 6 items with examples
  • Size
  • Source code size: 8.3 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 771.39 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 13s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • 1e1001

iter-debug

Repository Crates.io docs.rs MIT OR Apache-2.0

Allows debugging iterators without collecting them to a [Vec] first, useful in no_std environments or when you're lazy.

println!("{:?}", [1, 2, 3, 4].into_iter().map(|v| v * 2).debug());
// => [2, 4, 6, 8]

For more information, read the docs.

Changelog

1.0.2

  • Do not error on repeated formats

1.0.1

  • Change some testing code
  • rsutil merge documentation overhaul

1.0.0

  • Initial release

License

MIT or Apache 2.0