diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-04-08 11:48:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-08 11:48:26 +0200 |
| commit | 7b285d09e9e4ccf8273cc03dba28e8a428e6084e (patch) | |
| tree | f9701e122f296df0e9aa6e99774d9013713d87ee | |
| parent | fdfdb336e22476fe20b0ad3270bb598e848577b9 (diff) | |
| parent | e0e64a89304de2b34dbafbc6cb354d2be9e67835 (diff) | |
| download | rust-7b285d09e9e4ccf8273cc03dba28e8a428e6084e.tar.gz rust-7b285d09e9e4ccf8273cc03dba28e8a428e6084e.zip | |
Rollup merge of #95791 - oconnor663:doc_comment, r=thomcc
hide an #[allow] directive from the Arc::new_cyclic doc example A minor docs cleanup.
| -rw-r--r-- | library/alloc/src/sync.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/sync.rs b/library/alloc/src/sync.rs index f8b4d46ac10..a19999cd725 100644 --- a/library/alloc/src/sync.rs +++ b/library/alloc/src/sync.rs @@ -369,7 +369,7 @@ impl<T> Arc<T> { /// /// # Example /// ``` - /// #![allow(dead_code)] + /// # #![allow(dead_code)] /// use std::sync::{Arc, Weak}; /// /// struct Gadget { |
