diff options
| author | Ralf Jung <post@ralfj.de> | 2022-11-25 08:47:59 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2022-11-25 08:52:06 +0100 |
| commit | 6ed4f15940d94d290e23bb72df92c2fb73e8fbdc (patch) | |
| tree | 5eb9d6a79118d0a0c9930017e6e9147535a60283 /library/core | |
| parent | a78c9bee4d9d51a3891bd8ecae1f28a93b83653b (diff) | |
| download | rust-6ed4f15940d94d290e23bb72df92c2fb73e8fbdc.tar.gz rust-6ed4f15940d94d290e23bb72df92c2fb73e8fbdc.zip | |
RefCell::get_mut: fix typo
and fix the same typo in a bunch of other places
Diffstat (limited to 'library/core')
| -rw-r--r-- | library/core/src/cell.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/cell.rs b/library/core/src/cell.rs index f2975d05457..47cce2aa39b 100644 --- a/library/core/src/cell.rs +++ b/library/core/src/cell.rs @@ -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, |
