☰
Debian Codegraph
@
1.4.4-1
/
/
.cargo
/
vendor
/
arbitrary
/
src
/
foreign
/
std
/
ffi
/
c_str.rs
☽
☼
.cargo/vendor/arbitrary/src/foreign/std/ffi/c_str.rs
code
plain
raw
GPL-2
1998-2015, Sourcefire, Inc.; 2002-2007, Tomasz Kojm <
[email protected]
>; 2006, Sensory Networks, Inc; 2007-2015, Cisco Systems, Inc; 2014-2018, Cisco and/or its affiliates
debian/copyright
1
// impl Arbitrary for Box<CStr> {
2
// fn arbitrary(u: &mut Unstructured<'_>) -> Result<Self> {
3
// <CString as Arbitrary>::arbitrary(u).map(|x| x.into_boxed_c_str())
4
// }
5
// }