Skip to content

Commit cccd4e2

Browse files
committed
fix typo: whenver -> whenever
1 parent fc24bce commit cccd4e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/cell.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ impl<T> Cell<[T]> {
583583
pub struct RefCell<T: ?Sized> {
584584
borrow: Cell<BorrowFlag>,
585585
// Stores the location of the earliest currently active borrow.
586-
// This gets updated whenver we go from having zero borrows
586+
// This gets updated whenever we go from having zero borrows
587587
// to having a single borrow. When a borrow occurs, this gets included
588588
// in the generated `BorrowError/`BorrowMutError`
589589
#[cfg(feature = "debug_refcell")]

0 commit comments

Comments
 (0)