Skip to content

Commit

Permalink
Fix crazy-pants match in Option docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Gankra committed Oct 21, 2014
1 parent b6e0d3a commit 01e8ad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/option.rs
Expand Up @@ -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));
Expand Down

5 comments on commit 01e8ad6

@bors
Copy link
Contributor

@bors bors commented on 01e8ad6 Oct 21, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at Gankra@01e8ad6

@bors
Copy link
Contributor

@bors bors commented on 01e8ad6 Oct 21, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging Gankro/rust/option-what = 01e8ad6 into auto

@bors
Copy link
Contributor

@bors bors commented on 01e8ad6 Oct 21, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gankro/rust/option-what = 01e8ad6 merged ok, testing candidate = 4764c16

@bors
Copy link
Contributor

@bors bors commented on 01e8ad6 Oct 21, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 01e8ad6 Oct 21, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 4764c16

Please sign in to comment.