]> git.lizzy.rs Git - rust.git/blobdiff - library/core/src/cell.rs
Auto merge of #105698 - joboet:unsupported_threads_once, r=thomcc
[rust.git] / library / core / src / cell.rs
index f2975d054572cee34e28c0b8954ff7ec99a5a5f6..47cce2aa39b0c5fb8d4fb5b23b10a5c9b7204088 100644 (file)
@@ -1025,7 +1025,7 @@ pub fn as_ptr(&self) -> *mut T {
     ///
     /// Since this method borrows `RefCell` mutably, it is statically guaranteed
     /// that no borrows to the underlying data exist. The dynamic checks inherent
-    /// in [`borrow_mut`] and most other methods of `RefCell` are therefor
+    /// in [`borrow_mut`] and most other methods of `RefCell` are therefore
     /// unnecessary.
     ///
     /// This method can only be called if `RefCell` can be mutably borrowed,