mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
Fixed typo BorroeError
=> BorrowError
in RefCell docs
This commit is contained in:
parent
ce1d5611a2
commit
c688e70d66
@ -578,7 +578,7 @@ pub struct RefCell<T: ?Sized> {
|
||||
// Stores the location of the earliest currently active borrow.
|
||||
// This gets updated whenver we go from having zero borrows
|
||||
// to having a single borrow. When a borrow occurs, this gets included
|
||||
// in the generated `BorroeError/`BorrowMutError`
|
||||
// in the generated `BorrowError/`BorrowMutError`
|
||||
#[cfg(feature = "debug_refcell")]
|
||||
borrowed_at: Cell<Option<&'static crate::panic::Location<'static>>>,
|
||||
value: UnsafeCell<T>,
|
||||
|
Loading…
Reference in New Issue
Block a user