From c688e70d66ad11f32e988f92f774f831ce9464ff Mon Sep 17 00:00:00 2001 From: Alexander Kiselev Date: Fri, 18 Jun 2021 17:43:18 -0700 Subject: [PATCH] Fixed typo `BorroeError` => `BorrowError` in RefCell docs --- library/core/src/cell.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { // 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>>, value: UnsafeCell,