Module lib::assert_iter::assert_iter_eq

source ·
Expand description

Assert an iter is equal to another.

Pseudocode:
(collection1 into iter) = (collection2 into iter)

§Example

use assertables::*;
let a = [1, 2];
let b = [1, 2];
assert_iter_eq!(&a, &b);

This implementation uses std::iter::Iterator.

§Module macros