Fix typo in docs for Rc

This commit is contained in:
kalabukdima 2019-10-13 15:46:28 +03:00 committed by GitHub
parent 29b6e0f0a1
commit e67fa776ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;