Rollup merge of #31192 - frewsxcv:patch-27, r=alexcrichton

This commit is contained in:
Manish Goregaokar 2016-01-26 13:11:57 +05:30
commit 37b48edb53

View File

@ -414,7 +414,9 @@ impl<T: ?Sized> RefCell<T> {
///
/// let c = RefCell::new(5);
///
/// let borrowed_five = c.borrow_mut();
/// *c.borrow_mut() = 7;
///
/// assert_eq!(*c.borrow(), 7);
/// ```
///
/// An example of panic: