summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-10-13 19:17:17 +0200
committerGitHub <noreply@github.com>2019-10-13 19:17:17 +0200
commit92b36ce4a7d08930411e43d6aa3c8cf07a8d2701 (patch)
tree444af2d13953edc31348d22a374490f95b40210b
parentecfcb4cf93f7d4fc95de4accab967ec804ebdf07 (diff)
parente67fa776ee749b4804c810aa35f65c477e901788 (diff)
downloadrust-92b36ce4a7d08930411e43d6aa3c8cf07a8d2701.tar.gz
Rollup merge of #65373 - kalabukdima:patch-1, r=jonas-schievink
Fix typo in docs for `Rc` r? @czipperz
-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;