From e0e64a89304de2b34dbafbc6cb354d2be9e67835 Mon Sep 17 00:00:00 2001 From: Jack O'Connor Date: Thu, 7 Apr 2022 17:56:06 -0700 Subject: [PATCH] hide an #[allow] directive from the Arc::new_cyclic doc example --- library/alloc/src/sync.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/alloc/src/sync.rs b/library/alloc/src/sync.rs index f8b4d46ac105d..a19999cd72580 100644 --- a/library/alloc/src/sync.rs +++ b/library/alloc/src/sync.rs @@ -369,7 +369,7 @@ impl Arc { /// /// # Example /// ``` - /// #![allow(dead_code)] + /// # #![allow(dead_code)] /// use std::sync::{Arc, Weak}; /// /// struct Gadget {