diff options
| author | Chris Midgley <chris.midgley@dunecomputers.co.uk> | 2021-07-26 22:12:35 +0100 |
|---|---|---|
| committer | Chris Midgley <chris.midgley@dunecomputers.co.uk> | 2021-07-26 22:12:35 +0100 |
| commit | cccd4e2a27571e47e997cf948c9d8d881e6352f1 (patch) | |
| tree | 58222c5e6073a2267e13a1fd10c2fa69531ca73b | |
| parent | fc24bcead1d401ae061538d011e4a319c4195b56 (diff) | |
| download | rust-cccd4e2a27571e47e997cf948c9d8d881e6352f1.tar.gz rust-cccd4e2a27571e47e997cf948c9d8d881e6352f1.zip | |
fix typo: whenver -> whenever
| -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 24b0797f93a..f0c934edf39 100644 --- a/library/core/src/cell.rs +++ b/library/core/src/cell.rs @@ -583,7 +583,7 @@ impl<T> Cell<[T]> { pub struct RefCell<T: ?Sized> { borrow: Cell<BorrowFlag>, // Stores the location of the earliest currently active borrow. - // This gets updated whenver we go from having zero borrows + // This gets updated whenever we go from having zero borrows // to having a single borrow. When a borrow occurs, this gets included // in the generated `BorrowError/`BorrowMutError` #[cfg(feature = "debug_refcell")] |
