]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #43928 - anthonyclays:anthonyclays-refcell-docfix, r=QuietMisdreavus
authorCorey Farwell <coreyf@rwell.org>
Thu, 17 Aug 2017 14:44:14 +0000 (10:44 -0400)
committerGitHub <noreply@github.com>
Thu, 17 Aug 2017 14:44:14 +0000 (10:44 -0400)
Fixed typo in RefCell::get_mut

"[...] is usually not you want." => "[...] is usually not what you want."

src/libcore/cell.rs

index 6068f1a79611e4932cb7884acbb9606389a8cb16..dc0905e297251f86c5c6161ef69501ff6248aa23 100644 (file)
@@ -809,7 +809,7 @@ pub fn as_ptr(&self) -> *mut T {
     /// [`borrow_mut`] method instead if `self` isn't mutable.
     ///
     /// Also, please be aware that this method is only for special circumstances and is usually
-    /// not you want. In case of doubt, use [`borrow_mut`] instead.
+    /// not what you want. In case of doubt, use [`borrow_mut`] instead.
     ///
     /// [`borrow_mut`]: #method.borrow_mut
     ///