We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc24bce commit cccd4e2Copy full SHA for cccd4e2
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