Closed bluss closed 8 years ago
The empty iterator is a zero sized type, and this way the empty shrinker (also the default shrinker) uses no allocation at all.
empty
empty and once require Rust 1.2 or later.
QuickCheck pays no mind to allocation, but this still seems good to do anyway. Thanks!
:smile: I guess, it came out of habit.
The
empty
iterator is a zero sized type, and this way the empty shrinker (also the default shrinker) uses no allocation at all.empty and once require Rust 1.2 or later.