about summary refs log tree commit diff
diff options
context:
space:
mode:
authoramosonn <amosonn@gmail.com>2020-08-21 22:25:09 +0200
committerGitHub <noreply@github.com>2020-08-21 22:25:09 +0200
commit5aba816672d08a076eaa8005a109968af8ce1083 (patch)
tree9ce9d962e5f1ec120d8c58dcc935d5c5cf6c33d0
parentab204c5b20742d153968390bae0f3ff1095e2946 (diff)
downloadrust-5aba816672d08a076eaa8005a109968af8ce1083.tar.gz
rust-5aba816672d08a076eaa8005a109968af8ce1083.zip
Update rc.rs
-rw-r--r--library/alloc/src/rc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/rc.rs b/library/alloc/src/rc.rs
index c847cb7e1f1..1b5ee20516b 100644
--- a/library/alloc/src/rc.rs
+++ b/library/alloc/src/rc.rs
@@ -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