File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1092,7 +1092,7 @@ impl<T: ?Sized> Rc<T> {
1092
1092
/// # Safety
1093
1093
///
1094
1094
/// If any other `Rc` or [`Weak`] pointers to the same allocation exist, then
1095
- /// they must be must not be dereferenced or have active borrows for the duration
1095
+ /// they must not be dereferenced or have active borrows for the duration
1096
1096
/// of the returned borrow, and their inner type must be exactly the same as the
1097
1097
/// inner type of this Rc (including lifetimes). This is trivially the case if no
1098
1098
/// such pointers exist, for example immediately after `Rc::new`.
Original file line number Diff line number Diff line change @@ -1733,7 +1733,7 @@ impl<T: ?Sized> Arc<T> {
1733
1733
/// # Safety
1734
1734
///
1735
1735
/// If any other `Arc` or [`Weak`] pointers to the same allocation exist, then
1736
- /// they must be must not be dereferenced or have active borrows for the duration
1736
+ /// they must not be dereferenced or have active borrows for the duration
1737
1737
/// of the returned borrow, and their inner type must be exactly the same as the
1738
1738
/// inner type of this Rc (including lifetimes). This is trivially the case if no
1739
1739
/// such pointers exist, for example immediately after `Arc::new`.
You can’t perform that action at this time.
0 commit comments