diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-04-09 18:26:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-09 18:26:29 +0200 |
| commit | 2464ea251010f6de62ec875b32f3463dfa326cfb (patch) | |
| tree | 3eb001288437e9777f5208e9e705b5b66284c9b2 /library/alloc/src | |
| parent | 17157c717e8121c18c38fd08f47ac2cecd9aa57c (diff) | |
| parent | c1023e9e5f357b0953034cbcb14078940a9530e4 (diff) | |
| download | rust-2464ea251010f6de62ec875b32f3463dfa326cfb.tar.gz rust-2464ea251010f6de62ec875b32f3463dfa326cfb.zip | |
Rollup merge of #95817 - oconnor663:doc_comment2, r=yaahc
hide another #[allow] directive from a docs example This is a repeat for Rc of e0e64a89304de2b34dbafbc6cb354d2be9e67835, which cleaned up the same thing for Arc.
Diffstat (limited to 'library/alloc/src')
| -rw-r--r-- | library/alloc/src/rc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<T> Rc<T> { /// # Examples /// /// ``` - /// #![allow(dead_code)] + /// # #![allow(dead_code)] /// use std::rc::{Rc, Weak}; /// /// struct Gadget { |
