Skip to content

Commit 2464ea2

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 e0e64a8, which cleaned up the same thing for Arc.
2 parents 17157c7 + c1023e9 commit 2464ea2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/rc.rs

+1-1
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)