about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2017-06-23 06:02:12 -0600
committerGitHub <noreply@github.com>2017-06-23 06:02:12 -0600
commit97b77833335796b0970086590e8a29ca825d4622 (patch)
treebc22c2b7a427a148b2534bcc696f2c765c835742 /src/liballoc
parentbb2db942eeb47854aa1183d57c39ef2f33b89db0 (diff)
parentfc581457ecc6a86ba31d210fe93744577679c9ce (diff)
downloadrust-97b77833335796b0970086590e8a29ca825d4622.tar.gz
rust-97b77833335796b0970086590e8a29ca825d4622.zip
Rollup merge of #42825 - letheed:patch-1, r=alexcrichton
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`.
 ///