Skip to content

Commit e67fa77

Browse files
authored
Fix typo in docs for Rc
1 parent 29b6e0f commit e67fa77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/liballoc/rc.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ impl<T: Clone> Rc<T> {
773773
/// referred to as clone-on-write.
774774
///
775775
/// If there are no other `Rc` pointers to this value, then [`Weak`]
776-
/// pointers to this value will be dissassociated.
776+
/// pointers to this value will be disassociated.
777777
///
778778
/// See also [`get_mut`], which will fail rather than cloning.
779779
///
@@ -799,7 +799,7 @@ impl<T: Clone> Rc<T> {
799799
/// assert_eq!(*other_data, 12);
800800
/// ```
801801
///
802-
/// [`Weak`] pointers will be dissassociated:
802+
/// [`Weak`] pointers will be disassociated:
803803
///
804804
/// ```
805805
/// use std::rc::Rc;

0 commit comments

Comments
 (0)