Skip to content

Commit c688e70

Browse files
authored
Fixed typo BorroeError => BorrowError in RefCell docs
1 parent ce1d561 commit c688e70

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

0 commit comments

Comments
 (0)