Fix comment referring to formerly-above code

This commit is contained in:
David Tolnay 2021-04-28 10:08:29 -07:00
parent 6d988dc1e3
commit 701e3a45a9
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -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")]