Rollup merge of #95817 - oconnor663:doc_comment2, r=yaahc
hide another #[allow] directive from a docs example This is a repeat for Rc of e0e64a89304de2b34dbafbc6cb354d2be9e67835, which cleaned up the same thing for Arc.
This commit is contained in:
commit
2464ea2510
@ -393,7 +393,7 @@ impl<T> Rc<T> {
|
||||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// #![allow(dead_code)]
|
||||
/// # #![allow(dead_code)]
|
||||
/// use std::rc::{Rc, Weak};
|
||||
///
|
||||
/// struct Gadget {
|
||||
|
Loading…
x
Reference in New Issue
Block a user