We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 988f617 + cccd4e2 commit 7282d71Copy full SHA for 7282d71
library/core/src/cell.rs
@@ -583,7 +583,7 @@ impl<T> Cell<[T]> {
583
pub struct RefCell<T: ?Sized> {
584
borrow: Cell<BorrowFlag>,
585
// Stores the location of the earliest currently active borrow.
586
- // This gets updated whenver we go from having zero borrows
+ // This gets updated whenever we go from having zero borrows
587
// to having a single borrow. When a borrow occurs, this gets included
588
// in the generated `BorrowError/`BorrowMutError`
589
#[cfg(feature = "debug_refcell")]
0 commit comments