File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 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> {
10921092 /// # Safety
10931093 ///
10941094 /// 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
10961096 /// of the returned borrow, and their inner type must be exactly the same as the
10971097 /// inner type of this Rc (including lifetimes). This is trivially the case if no
10981098 /// 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> {
17331733 /// # Safety
17341734 ///
17351735 /// 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
17371737 /// of the returned borrow, and their inner type must be exactly the same as the
17381738 /// inner type of this Rc (including lifetimes). This is trivially the case if no
17391739 /// such pointers exist, for example immediately after `Arc::new`.
You can’t perform that action at this time.
0 commit comments