From c1023e9e5f357b0953034cbcb14078940a9530e4 Mon Sep 17 00:00:00 2001 From: Jack O'Connor Date: Fri, 8 Apr 2022 10:29:00 -0700 Subject: [PATCH] hide another #[allow] directive from a docs example This is a repeat for Rc of e0e64a89304de2b34dbafbc6cb354d2be9e67835, which cleaned up the same thing for Arc. --- library/alloc/src/rc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/alloc/src/rc.rs b/library/alloc/src/rc.rs index 0b57c36247e..d0d37c08d13 100644 --- a/library/alloc/src/rc.rs +++ b/library/alloc/src/rc.rs @@ -393,7 +393,7 @@ impl Rc { /// # Examples /// /// ``` - /// #![allow(dead_code)] + /// # #![allow(dead_code)] /// use std::rc::{Rc, Weak}; /// /// struct Gadget {