Skip to content

Commit d06a350

Browse files
committed
RefCell::get_mut: fix typo
and fix the same typo in a bunch of other places
1 parent 7beed68 commit d06a350

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/cell.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ impl<T: ?Sized> RefCell<T> {
10251025
///
10261026
/// Since this method borrows `RefCell` mutably, it is statically guaranteed
10271027
/// that no borrows to the underlying data exist. The dynamic checks inherent
1028-
/// in [`borrow_mut`] and most other methods of `RefCell` are therefor
1028+
/// in [`borrow_mut`] and most other methods of `RefCell` are therefore
10291029
/// unnecessary.
10301030
///
10311031
/// This method can only be called if `RefCell` can be mutably borrowed,

0 commit comments

Comments
 (0)