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