File tree 2 files changed +6
-4
lines changed
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> {
1011
1011
/// mutate a shared value.
1012
1012
///
1013
1013
/// 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.
1015
1015
///
1016
1016
/// [make_mut]: Rc::make_mut
1017
1017
/// [clone]: Clone::clone
@@ -1104,7 +1104,8 @@ impl<T: Clone> Rc<T> {
1104
1104
/// pointers, then the [`Weak`] pointers will be disassociated and the inner value will not
1105
1105
/// be cloned.
1106
1106
///
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.
1108
1109
///
1109
1110
/// [`clone`]: Clone::clone
1110
1111
/// [`get_mut`]: Rc::get_mut
Original file line number Diff line number Diff line change @@ -1354,7 +1354,8 @@ impl<T: Clone> Arc<T> {
1354
1354
/// pointers, then the [`Weak`] pointers will be disassociated and the inner value will not
1355
1355
/// be cloned.
1356
1356
///
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.
1358
1359
///
1359
1360
/// [`clone`]: Clone::clone
1360
1361
/// [`get_mut`]: Arc::get_mut
@@ -1458,7 +1459,7 @@ impl<T: ?Sized> Arc<T> {
1458
1459
/// mutate a shared value.
1459
1460
///
1460
1461
/// 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.
1462
1463
///
1463
1464
/// [make_mut]: Arc::make_mut
1464
1465
/// [clone]: Clone::clone
You can’t perform that action at this time.
0 commit comments