about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAnthony Clays <anthony@clays.me>2017-08-17 10:57:17 +0200
committerAnthony Clays <anthony@clays.me>2017-08-17 10:57:17 +0200
commitfa346fc5d661d39fd7806b13b55a3d6f6ed33cb1 (patch)
tree090c14a9ae245bd325b97d0aaa5c0da105cfa74e
parente4072065345fb33ee6f4ada8cb127a2f0cade7ce (diff)
downloadrust-fa346fc5d661d39fd7806b13b55a3d6f6ed33cb1.tar.gz
rust-fa346fc5d661d39fd7806b13b55a3d6f6ed33cb1.zip
Fixed typo in RefCell::get_mut
-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
     ///