mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-20 19:04:21 +00:00
Rollup merge of #65373 - kalabukdima:patch-1, r=jonas-schievink
Fix typo in docs for `Rc` r? @czipperz
This commit is contained in:
commit
92b36ce4a7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user