diff options
| author | Letheed <letheed@users.noreply.github.com> | 2017-06-22 15:48:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-22 15:48:20 +0200 |
| commit | fc581457ecc6a86ba31d210fe93744577679c9ce (patch) | |
| tree | 018fb9f295a54d2ffc0fcec02616323d2b519902 /src/liballoc | |
| parent | 6f01c84fc8ae1b07d8165ceccb2e432f45a2ff1a (diff) | |
| download | rust-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.rs | 2 |
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`. /// |
