about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Kiselev <akiselev@openindustrial.org>2021-06-18 17:43:18 -0700
committerGitHub <noreply@github.com>2021-06-18 17:43:18 -0700
commitc688e70d66ad11f32e988f92f774f831ce9464ff (patch)
treead4615a19febe080b7d8265ccd442d9184ed19fd
parentce1d5611a28468663e275078649e7ca6eef735a8 (diff)
Fixed typo `BorroeError` => `BorrowError` in RefCell docs
-rw-r--r--library/core/src/cell.rs2
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>,