about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-08-17 10:44:14 -0400
committerGitHub <noreply@github.com>2017-08-17 10:44:14 -0400
commit58f3041eca2ff0fafcbe183a412173045c4d1846 (patch)
tree9f2b4b621a440499ab28280176efeffa86ffa4a3
parent584dacf1f9ae3d71dd9c9d4d91cf14d493f182fc (diff)
parentfa346fc5d661d39fd7806b13b55a3d6f6ed33cb1 (diff)
downloadrust-58f3041eca2ff0fafcbe183a412173045c4d1846.tar.gz
rust-58f3041eca2ff0fafcbe183a412173045c4d1846.zip
Rollup merge of #43928 - anthonyclays:anthonyclays-refcell-docfix, r=QuietMisdreavus
Fixed typo in RefCell::get_mut

"[...] is usually not you want." => "[...] is usually not what you want."
-rw-r--r--src/libcore/cell.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/cell.rs b/src/libcore/cell.rs
index 6068f1a7961..dc0905e2972 100644
--- a/src/libcore/cell.rs
+++ b/src/libcore/cell.rs
@@ -809,7 +809,7 @@ impl<T: ?Sized> RefCell<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
     ///