(g: &mut quickcheck::Gen)
| 4 | |
| 5 | impl Arbitrary for Token<'static> { |
| 6 | fn arbitrary(g: &mut quickcheck::Gen) -> Self { |
| 7 | Self::new(String::arbitrary(g)) |
| 8 | } |
| 9 | |
| 10 | fn shrink(&self) -> Box<dyn Iterator<Item = Self>> { |
| 11 | Box::new(self.decoded().into_owned().shrink().map(Self::new)) |
nothing calls this directly
no test coverage detected