1 unstable release
0.1.0 | Aug 21, 2023 |
---|
#1475 in Development tools
6KB
iterator-assertions
Assert something about an iterator in place.
let vector = vec![1, 2, 3]
.assert(|i| i.is_empty().not())
.assert(|i| i.len() < 5);
0.1.0 | Aug 21, 2023 |
---|
#1475 in Development tools
6KB
Assert something about an iterator in place.
let vector = vec![1, 2, 3]
.assert(|i| i.is_empty().not())
.assert(|i| i.len() < 5);