diff options
author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-10-13 19:17:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-13 19:17:17 +0200 |
commit | 92b36ce4a7d08930411e43d6aa3c8cf07a8d2701 (patch) | |
tree | 444af2d13953edc31348d22a374490f95b40210b | |
parent | ecfcb4cf93f7d4fc95de4accab967ec804ebdf07 (diff) | |
parent | e67fa776ee749b4804c810aa35f65c477e901788 (diff) | |
download | rust-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.rs | 4 |
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; |