auto merge of #18201 : Gankro/rust/option-what, r=alexcrichton

🐳
This commit is contained in:
bors 2014-10-21 14:52:11 +00:00
commit 4764c16011
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ impl<T> Option<T> {
/// ```
/// let mut x = Some(2u);
/// match x.as_mut() {
/// Some(&ref mut v) => *v = 42,
/// Some(v) => *v = 42,
/// None => {},
/// }
/// assert_eq!(x, Some(42u));