about summary refs log tree commit diff
diff options
context:
space:
mode:
authormsakuta <masahiro.sakuta@gmail.com>2022-09-17 13:58:53 +0900
committermsakuta <masahiro.sakuta@gmail.com>2022-09-17 13:58:53 +0900
commit673c43b6e13ea78fae815a469436832cae6f78c0 (patch)
tree6e3e1fec680a461cfece434ce17b22b313a67ee3
parent95a992a68694d8bf3959bd2c0ac27ce9e9208b59 (diff)
downloadrust-673c43b6e13ea78fae815a469436832cae6f78c0.tar.gz
rust-673c43b6e13ea78fae815a469436832cae6f78c0.zip
Fix a typo in docstring
-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 b89b03683ba..6d247681c66 100644
--- a/library/alloc/src/rc.rs
+++ b/library/alloc/src/rc.rs
@@ -1142,7 +1142,7 @@ impl<T: Clone> Rc<T> {
     /// be cloned.
     ///
     /// See also [`get_mut`], which will fail rather than cloning the inner value
-    /// or diassociating [`Weak`] pointers.
+    /// or disassociating [`Weak`] pointers.
     ///
     /// [`clone`]: Clone::clone
     /// [`get_mut`]: Rc::get_mut