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