proptest_arbitrary/_std/
rc.rs

1//! Arbitrary implementations for `std::rc`.
2
3use std::rc::Rc;
4
5// Weak would always give None on upgrade since there's no owned Rc.
6
7wrap_from!(Rc);
8
9#[cfg(test)]
10mod test {
11    no_panic_test!(rc => Rc<u8>);
12}