Skip to content

Commit c1023e9

Browse files
committed
hide another #[allow] directive from a docs example
This is a repeat for Rc of e0e64a8, which cleaned up the same thing for Arc.
1 parent 2d5a21f commit c1023e9

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)