hide an #[allow] directive from the Arc::new_cyclic doc example
This commit is contained in:
parent
e745b4ddbd
commit
e0e64a8930
@ -369,7 +369,7 @@ impl<T> Arc<T> {
|
||||
///
|
||||
/// # Example
|
||||
/// ```
|
||||
/// #![allow(dead_code)]
|
||||
/// # #![allow(dead_code)]
|
||||
/// use std::sync::{Arc, Weak};
|
||||
///
|
||||
/// struct Gadget {
|
||||
|
Loading…
x
Reference in New Issue
Block a user