1 2 3 4 5 6 7 8 9
use crate::BoxShrink; /// Empty shrinker not producing any smaller examples given original example. pub fn none<E>() -> BoxShrink<E> where E: Clone + 'static, { crate::shrinks::from_fn(|_original| std::iter::empty()) }