From fc581457ecc6a86ba31d210fe93744577679c9ce Mon Sep 17 00:00:00 2001 From: Letheed Date: Thu, 22 Jun 2017 15:48:20 +0200 Subject: [PATCH] Fix ref as mutable ref in std::rc::Rc doc --- src/liballoc/rc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs index 21a56ff9899e3..94fe36d01a5a5 100644 --- a/src/liballoc/rc.rs +++ b/src/liballoc/rc.rs @@ -273,7 +273,7 @@ struct RcBox { /// 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`. ///