about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorkalabukdima <kalabukdima@users.noreply.github.com>2019-10-13 15:46:28 +0300
committerGitHub <noreply@github.com>2019-10-13 15:46:28 +0300
commite67fa776ee749b4804c810aa35f65c477e901788 (patch)
tree01b191cacf4d491bb1102981eec96b2768441f74 /src/liballoc
parent29b6e0f0a1d1a37f8dc729484a64e59bf0b9a0a3 (diff)
downloadrust-e67fa776ee749b4804c810aa35f65c477e901788.tar.gz
rust-e67fa776ee749b4804c810aa35f65c477e901788.zip
Fix typo in docs for `Rc`
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/rc.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs
index a28c6d22abb..b0651f16484 100644
--- a/src/liballoc/rc.rs
+++ b/src/liballoc/rc.rs
@@ -773,7 +773,7 @@ impl<T: Clone> Rc<T> {
     /// referred to as clone-on-write.
     ///
     /// If there are no other `Rc` pointers to this value, then [`Weak`]
-    /// pointers to this value will be dissassociated.
+    /// pointers to this value will be disassociated.
     ///
     /// See also [`get_mut`], which will fail rather than cloning.
     ///
@@ -799,7 +799,7 @@ impl<T: Clone> Rc<T> {
     /// assert_eq!(*other_data, 12);
     /// ```
     ///
-    /// [`Weak`] pointers will be dissassociated:
+    /// [`Weak`] pointers will be disassociated:
     ///
     /// ```
     /// use std::rc::Rc;