1 2 3 4 5 6 7 8 9 10 11 12
use crate::{Arbitrary, Result, Unstructured}; impl<'a> Arbitrary<'a> for () { fn arbitrary(_: &mut Unstructured<'a>) -> Result<Self> { Ok(()) } #[inline] fn size_hint(_depth: usize) -> (usize, Option<usize>) { (0, Some(0)) } }