Skip to content

Commit 7282d71

Browse files
authored
Rollup merge of #87494 - midgleyc:comment-typos, r=joshtriplett
fix typo: whenver -> whenever Fix a typo in a comment in RefCell: "whenver" -> "whenever".
2 parents 988f617 + cccd4e2 commit 7282d71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/cell.rs

Lines changed: 1 addition & 1 deletion
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)