Skip to content

Commit

Permalink
Rollup merge of rust-lang#42825 - letheed:patch-1, r=alexcrichton
Browse files Browse the repository at this point in the history
Fix ref as mutable ref in std::rc::Rc doc
  • Loading branch information
Mark-Simulacrum authored Jun 23, 2017
2 parents bb2db94 + fc58145 commit 97b7783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liballoc/rc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
///
Expand Down

0 comments on commit 97b7783

Please sign in to comment.