Skip to content

Commit 030fffa

Browse files
committed
auto merge of #9368 : StrLght/rust/master, r=thestinger
2 parents b094cf4 + eb519b9 commit 030fffa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/option.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ let msg = Some(~"howdy");
2828
2929
// Take a reference to the contained string
3030
match msg {
31-
Some(ref m) => io::println(m),
31+
Some(ref m) => io::println(*m),
3232
None => ()
3333
}
3434

0 commit comments

Comments
 (0)