Update rc.rs

This commit is contained in:
amosonn 2020-08-21 22:25:09 +02:00 committed by GitHub
parent ab204c5b20
commit 5aba816672
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2133,7 +2133,7 @@ impl<T: ?Sized> AsRef<T> for Rc<T> {
#[stable(feature = "pin", since = "1.33.0")]
impl<T: ?Sized> Unpin for Rc<T> {}
/// Get the offset within an `RcBoRcBox` for
/// Get the offset within an `RcBox` for
/// a payload of type described by a pointer.
///
/// # Safety