diff options
| author | Alexander Kiselev <akiselev@openindustrial.org> | 2021-06-18 17:43:18 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-18 17:43:18 -0700 |
| commit | c688e70d66ad11f32e988f92f774f831ce9464ff (patch) | |
| tree | ad4615a19febe080b7d8265ccd442d9184ed19fd | |
| parent | ce1d5611a28468663e275078649e7ca6eef735a8 (diff) | |
Fixed typo `BorroeError` => `BorrowError` in RefCell docs
| -rw-r--r-- | library/core/src/cell.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/cell.rs b/library/core/src/cell.rs index f88a6e418c7..0c1224ce56c 100644 --- a/library/core/src/cell.rs +++ b/library/core/src/cell.rs @@ -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>, |
