about summary refs log tree commit diff
path: root/library
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2021-04-28 10:08:29 -0700
committerDavid Tolnay <dtolnay@gmail.com>2021-07-30 10:42:19 -0700
commit701e3a45a9b8d2eb32be1c44ac3ef780abb4075f (patch)
tree9c165b2a21e811245c048252c4ae38a3f6ef9c70 /library
parent6d988dc1e307db8e04442a75a757f6aeb7b3c2c9 (diff)
downloadrust-701e3a45a9b8d2eb32be1c44ac3ef780abb4075f.tar.gz
rust-701e3a45a9b8d2eb32be1c44ac3ef780abb4075f.zip
Fix comment referring to formerly-above code
Diffstat (limited to 'library')
-rw-r--r--library/alloc/src/panic.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/panic.rs b/library/alloc/src/panic.rs
index 666d4fa45aa..b854be9f5ce 100644
--- a/library/alloc/src/panic.rs
+++ b/library/alloc/src/panic.rs
@@ -2,7 +2,7 @@ use crate::rc::Rc;
 use crate::sync::Arc;
 use core::panic::{RefUnwindSafe, UnwindSafe};
 
-// not covered via the Shared impl above b/c the inner contents use
+// not covered via the Shared impl in libcore b/c the inner contents use
 // Cell/AtomicUsize, but the usage here is unwind safe so we can lift the
 // impl up one level to Arc/Rc itself
 #[stable(feature = "catch_unwind", since = "1.9.0")]