Fix ref as mutable ref in std::rc::Rc doc

This commit is contained in:
Letheed 2017-06-22 15:48:20 +02:00 committed by GitHub
parent 6f01c84fc8
commit fc581457ec

View File

@ -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`.
///