diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2021-06-19 10:14:15 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-19 10:14:15 +0900 |
| commit | ad79aba2bcc0e834e846ad7dc0b08a46fdf48592 (patch) | |
| tree | b964290095b8b98ebf883a8a410c6022e7404b11 | |
| parent | 84d6c68822bc7c6312a00226de90fb7cdf79494c (diff) | |
| parent | c688e70d66ad11f32e988f92f774f831ce9464ff (diff) | |
| download | rust-ad79aba2bcc0e834e846ad7dc0b08a46fdf48592.tar.gz rust-ad79aba2bcc0e834e846ad7dc0b08a46fdf48592.zip | |
Rollup merge of #86453 - akiselev:patch-1, r=dtolnay
stdlib: Fix typo in internal RefCell docs `BorroeError` => `BorrowError` in [cell.rs](https://github.com/rust-lang/rust/blob/master/library/core/src/cell.rs#L581)
| -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 6fd49361585..6af010e796d 100644 --- a/library/core/src/cell.rs +++ b/library/core/src/cell.rs @@ -585,7 +585,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>, |
