diff options
| author | Mark Simulacrum <mark.simulacrum@gmail.com> | 2017-06-23 06:02:12 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-23 06:02:12 -0600 |
| commit | 97b77833335796b0970086590e8a29ca825d4622 (patch) | |
| tree | bc22c2b7a427a148b2534bcc696f2c765c835742 /src/liballoc | |
| parent | bb2db942eeb47854aa1183d57c39ef2f33b89db0 (diff) | |
| parent | fc581457ecc6a86ba31d210fe93744577679c9ce (diff) | |
| download | rust-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.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`. /// |
