File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -1011,7 +1011,7 @@ impl<T: ?Sized> Rc<T> {
10111011 /// mutate a shared value.
10121012 ///
10131013 /// See also [`make_mut`][make_mut], which will [`clone`][clone]
1014- /// the inner value when there are other pointers.
1014+ /// the inner value when there are other `Rc` pointers.
10151015 ///
10161016 /// [make_mut]: Rc::make_mut
10171017 /// [clone]: Clone::clone
@@ -1104,7 +1104,8 @@ impl<T: Clone> Rc<T> {
11041104 /// pointers, then the [`Weak`] pointers will be disassociated and the inner value will not
11051105 /// be cloned.
11061106 ///
1107- /// See also [`get_mut`], which will fail rather than cloning.
1107+ /// See also [`get_mut`], which will fail rather than cloning the inner value
1108+ /// or diassociating [`Weak`] pointers.
11081109 ///
11091110 /// [`clone`]: Clone::clone
11101111 /// [`get_mut`]: Rc::get_mut
Original file line number Diff line number Diff line change @@ -1354,7 +1354,8 @@ impl<T: Clone> Arc<T> {
13541354 /// pointers, then the [`Weak`] pointers will be disassociated and the inner value will not
13551355 /// be cloned.
13561356 ///
1357- /// See also [`get_mut`], which will fail rather than cloning.
1357+ /// See also [`get_mut`], which will fail rather than cloning the inner value
1358+ /// or diassociating [`Weak`] pointers.
13581359 ///
13591360 /// [`clone`]: Clone::clone
13601361 /// [`get_mut`]: Arc::get_mut
@@ -1458,7 +1459,7 @@ impl<T: ?Sized> Arc<T> {
14581459 /// mutate a shared value.
14591460 ///
14601461 /// See also [`make_mut`][make_mut], which will [`clone`][clone]
1461- /// the inner value when there are other pointers.
1462+ /// the inner value when there are other `Arc` pointers.
14621463 ///
14631464 /// [make_mut]: Arc::make_mut
14641465 /// [clone]: Clone::clone
You can’t perform that action at this time.
0 commit comments