Crates.io | iter-debug |
lib.rs | iter-debug |
version | 1.0.1 |
created_at | 2024-04-03 14:46:32.080307+00 |
updated_at | 2025-06-03 16:05:24.344814+00 |
description | impl Debug for iterators using a wrapper |
homepage | https://github.com/1e1001/rsutil/tree/main/iter-debug |
repository | https://github.com/1e1001/rsutil/tree/main/iter-debug |
max_upload_size | |
id | 1195093 |
size | 8,324 |
Allows debugging iterators without collecting them to a [Vec
] first,
useful in no_std
environments or when you're lazy.
# use iter_debug::DebugIterator;
println!("{:?}", [1, 2, 3, 4].into_iter().map(|v| v * 2).debug());
// => [2, 4, 6, 8]
For more information, read the docs.
rsutil
merge documentation overhaulMIT or Apache 2.0