From cccd4e2a27571e47e997cf948c9d8d881e6352f1 Mon Sep 17 00:00:00 2001 From: Chris Midgley Date: Mon, 26 Jul 2021 22:12:35 +0100 Subject: [PATCH] fix typo: whenver -> whenever --- library/core/src/cell.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 Cell<[T]> { pub struct RefCell { borrow: Cell, // 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")]