Skip to content

Commit 4d6d031

Browse files
authored
Rollup merge of #95817 - oconnor663:doc_comment2, r=yaahc
hide another #[allow] directive from a docs example This is a repeat for Rc of 4b2ada814de7a5c1764af26ffe07dae547fd7b27, which cleaned up the same thing for Arc.
2 parents ee26b76 + 6e18252 commit 4d6d031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alloc/src/rc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ impl<T> Rc<T> {
393393
/// # Examples
394394
///
395395
/// ```
396-
/// #![allow(dead_code)]
396+
/// # #![allow(dead_code)]
397397
/// use std::rc::{Rc, Weak};
398398
///
399399
/// struct Gadget {

0 commit comments

Comments
 (0)