diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2021-07-27 19:52:48 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-27 19:52:48 +0900 |
| commit | 7282d71dc2b34cb2c61d54ffa0ade197d831e684 (patch) | |
| tree | 9abe2b71df5176c559b1288a32ac38107a0ae231 | |
| parent | 988f617f2a78d4449ecb5fef26fa14825fc8ecc8 (diff) | |
| parent | cccd4e2a27571e47e997cf948c9d8d881e6352f1 (diff) | |
| download | rust-7282d71dc2b34cb2c61d54ffa0ade197d831e684.tar.gz rust-7282d71dc2b34cb2c61d54ffa0ade197d831e684.zip | |
Rollup merge of #87494 - midgleyc:comment-typos, r=joshtriplett
fix typo: whenver -> whenever Fix a typo in a comment in RefCell: "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")] |
