Skip to content

Commit ad79aba

Browse files
authored
Rollup merge of rust-lang#86453 - akiselev:patch-1, r=dtolnay
stdlib: Fix typo in internal RefCell docs `BorroeError` => `BorrowError` in [cell.rs](https://github.com/rust-lang/rust/blob/master/library/core/src/cell.rs#L581)
2 parents 84d6c68 + c688e70 commit ad79aba

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
@@ -585,7 +585,7 @@ pub struct RefCell<T: ?Sized> {
585585
// Stores the location of the earliest currently active borrow.
586586
// This gets updated whenver we go from having zero borrows
587587
// to having a single borrow. When a borrow occurs, this gets included
588-
// in the generated `BorroeError/`BorrowMutError`
588+
// in the generated `BorrowError/`BorrowMutError`
589589
#[cfg(feature = "debug_refcell")]
590590
borrowed_at: Cell<Option<&'static crate::panic::Location<'static>>>,
591591
value: UnsafeCell<T>,

0 commit comments

Comments
 (0)