Skip to content

Commit

Permalink
Intra doc links for cell.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
poliorcetics committed Nov 30, 2020
1 parent b7ebc6b commit 19fb4fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions library/core/src/cell.rs
Expand Up @@ -929,7 +929,7 @@ impl<T: ?Sized> RefCell<T> {
/// Also, please be aware that this method is only for special circumstances and is usually
/// not what you want. In case of doubt, use [`borrow_mut`] instead.
///
/// [`borrow_mut`]: #method.borrow_mut
/// [`borrow_mut`]: RefCell::borrow_mut()
///
/// # Examples
///
Expand All @@ -953,7 +953,7 @@ impl<T: ?Sized> RefCell<T> {
/// ensure no borrows exist and then resets the state tracking shared borrows. This is relevant
/// if some `Ref` or `RefMut` borrows have been leaked.
///
/// [`get_mut`]: #method.get_mut
/// [`get_mut`]: RefCell::get_mut()
///
/// # Examples
///
Expand Down Expand Up @@ -1745,7 +1745,7 @@ impl<T: ?Sized> UnsafeCell<T> {
/// when casting to `&mut T`, and ensure that there are no mutations
/// or mutable aliases going on when casting to `&T`.
///
/// [`get`]: #method.get
/// [`get`]: UnsafeCell::get()
///
/// # Examples
///
Expand Down

0 comments on commit 19fb4fe

Please sign in to comment.