about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorLetheed <letheed@users.noreply.github.com>2017-06-22 15:48:20 +0200
committerGitHub <noreply@github.com>2017-06-22 15:48:20 +0200
commitfc581457ecc6a86ba31d210fe93744577679c9ce (patch)
tree018fb9f295a54d2ffc0fcec02616323d2b519902 /src/liballoc
parent6f01c84fc8ae1b07d8165ceccb2e432f45a2ff1a (diff)
downloadrust-fc581457ecc6a86ba31d210fe93744577679c9ce.tar.gz
rust-fc581457ecc6a86ba31d210fe93744577679c9ce.zip
Fix ref as mutable ref in std::rc::Rc doc
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/rc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs
index 21a56ff9899..94fe36d01a5 100644
--- a/src/liballoc/rc.rs
+++ b/src/liballoc/rc.rs
@@ -273,7 +273,7 @@ struct RcBox<T: ?Sized> {
 /// See the [module-level documentation](./index.html) for more details.
 ///
 /// The inherent methods of `Rc` are all associated functions, which means
-/// that you have to call them as e.g. [`Rc::get_mut(&value)`][get_mut] instead of
+/// that you have to call them as e.g. [`Rc::get_mut(&mut value)`][get_mut] instead of
 /// `value.get_mut()`. This avoids conflicts with methods of the inner
 /// type `T`.
 ///