RefCell::get_mut: fix typo
and fix the same typo in a bunch of other places
This commit is contained in:
parent
a78c9bee4d
commit
6ed4f15940
7 changed files with 8 additions and 8 deletions
|
@ -1025,7 +1025,7 @@ impl<T: ?Sized> RefCell<T> {
|
|||
///
|
||||
/// Since this method borrows `RefCell` mutably, it is statically guaranteed
|
||||
/// that no borrows to the underlying data exist. The dynamic checks inherent
|
||||
/// in [`borrow_mut`] and most other methods of `RefCell` are therefor
|
||||
/// in [`borrow_mut`] and most other methods of `RefCell` are therefore
|
||||
/// unnecessary.
|
||||
///
|
||||
/// This method can only be called if `RefCell` can be mutably borrowed,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue