Skip to content

Commit

Permalink
Rollup merge of rust-lang#43928 - anthonyclays:anthonyclays-refcell-d…
Browse files Browse the repository at this point in the history
…ocfix, r=QuietMisdreavus

Fixed typo in RefCell::get_mut

"[...] is usually not you want." => "[...] is usually not what you want."
  • Loading branch information
frewsxcv authored Aug 17, 2017
2 parents 584dacf + fa346fc commit 58f3041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/cell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ impl<T: ?Sized> RefCell<T> {
/// [`borrow_mut`] method instead if `self` isn't mutable.
///
/// Also, please be aware that this method is only for special circumstances and is usually
/// not you want. In case of doubt, use [`borrow_mut`] instead.
/// not what you want. In case of doubt, use [`borrow_mut`] instead.
///
/// [`borrow_mut`]: #method.borrow_mut
///
Expand Down

0 comments on commit 58f3041

Please sign in to comment.