Skip to content

Commit

Permalink
Fix example in std::Option
Browse files Browse the repository at this point in the history
  • Loading branch information
Grigoriy committed Sep 20, 2013
1 parent b7bbc2e commit eb519b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/option.rs
Expand Up @@ -28,7 +28,7 @@ let msg = Some(~"howdy");
// Take a reference to the contained string
match msg {
Some(ref m) => io::println(m),
Some(ref m) => io::println(*m),
None => ()
}
Expand Down

5 comments on commit eb519b9

@bors
Copy link
Contributor

@bors bors commented on eb519b9 Sep 21, 2013

Choose a reason for hiding this comment

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

saw approval from thestinger
at strlght@eb519b9

@bors
Copy link
Contributor

@bors bors commented on eb519b9 Sep 21, 2013

Choose a reason for hiding this comment

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

merging StrLght/rust/master = eb519b9 into auto

@bors
Copy link
Contributor

@bors bors commented on eb519b9 Sep 21, 2013

Choose a reason for hiding this comment

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

StrLght/rust/master = eb519b9 merged ok, testing candidate = 030fffa

@bors
Copy link
Contributor

@bors bors commented on eb519b9 Sep 21, 2013

@bors
Copy link
Contributor

@bors bors commented on eb519b9 Sep 21, 2013

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 = 030fffa

Please sign in to comment.