use { crate::{Arbitrary, Result, Unstructured}, std::ffi::OsString, }; impl<'a> Arbitrary<'a> for OsString { fn arbitrary(u: &mut Unstructured<'a>) -> Result { ::arbitrary(u).map(From::from) } #[inline] fn size_hint(depth: usize) -> (usize, Option) { ::size_hint(depth) } } // impl Arbitrary for Box { // fn arbitrary(u: &mut Unstructured<'_>) -> Result { // ::arbitrary(u).map(|x| x.into_boxed_osstr()) // // } // }