File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -929,7 +929,7 @@ impl<T: ?Sized> RefCell<T> {
929
929
/// Also, please be aware that this method is only for special circumstances and is usually
930
930
/// not what you want. In case of doubt, use [`borrow_mut`] instead.
931
931
///
932
- /// [`borrow_mut`]: RefCell ::borrow_mut()
932
+ /// [`borrow_mut`]: Self ::borrow_mut()
933
933
///
934
934
/// # Examples
935
935
///
@@ -953,7 +953,7 @@ impl<T: ?Sized> RefCell<T> {
953
953
/// ensure no borrows exist and then resets the state tracking shared borrows. This is relevant
954
954
/// if some `Ref` or `RefMut` borrows have been leaked.
955
955
///
956
- /// [`get_mut`]: RefCell ::get_mut()
956
+ /// [`get_mut`]: Self ::get_mut()
957
957
///
958
958
/// # Examples
959
959
///
@@ -1745,7 +1745,7 @@ impl<T: ?Sized> UnsafeCell<T> {
1745
1745
/// when casting to `&mut T`, and ensure that there are no mutations
1746
1746
/// or mutable aliases going on when casting to `&T`.
1747
1747
///
1748
- /// [`get`]: UnsafeCell ::get()
1748
+ /// [`get`]: Self ::get()
1749
1749
///
1750
1750
/// # Examples
1751
1751
///
You can’t perform that action at this time.
0 commit comments