diff options
| author | kalabukdima <kalabukdima@users.noreply.github.com> | 2019-10-13 15:46:28 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-13 15:46:28 +0300 |
| commit | e67fa776ee749b4804c810aa35f65c477e901788 (patch) | |
| tree | 01b191cacf4d491bb1102981eec96b2768441f74 /src/liballoc | |
| parent | 29b6e0f0a1d1a37f8dc729484a64e59bf0b9a0a3 (diff) | |
| download | rust-e67fa776ee749b4804c810aa35f65c477e901788.tar.gz rust-e67fa776ee749b4804c810aa35f65c477e901788.zip | |
Fix typo in docs for `Rc`
Diffstat (limited to 'src/liballoc')
| -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; |
