We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bb68cc1 + cccd4e2 commit 282ac09Copy full SHA for 282ac09
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