hide another #[allow] directive from a docs example
This is a repeat for Rc of e0e64a8930
,
which cleaned up the same thing for Arc.
This commit is contained in:
parent
2d5a21f63c
commit
c1023e9e5f
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ impl<T> Rc<T> {
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
/// #![allow(dead_code)]
|
/// # #![allow(dead_code)]
|
||||||
/// use std::rc::{Rc, Weak};
|
/// use std::rc::{Rc, Weak};
|
||||||
///
|
///
|
||||||
/// struct Gadget {
|
/// struct Gadget {
|
||||||
|
|
Loading…
Reference in a new issue