Crate iter_debug

Source
Expand description

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

Allows debugging iterators without collecting them to a Vec first, such as for no_std environments.

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

Structs§

IterDebug
The whole point, see the crate docs.

Traits§

DebugIterator
Helper trait that lets you .debug() an iterator, like the other combinators.