Skip to content

Commit

Permalink
Rollup merge of rust-lang#65373 - kalabukdima:patch-1, r=jonas-schievink
Browse files Browse the repository at this point in the history
Fix typo in docs for `Rc`

r? @czipperz
  • Loading branch information
Centril authored Oct 13, 2019
2 parents dd2c0db + e67fa77 commit 813d4c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/liballoc/rc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand All @@ -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;
Expand Down

0 comments on commit 813d4c3

Please sign in to comment.