auto merge of #9368 : StrLght/rust/master, r=thestinger
This commit is contained in:
commit
030fffa57c
@ -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 => ()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user