auto merge of #9368 : StrLght/rust/master, r=thestinger
This commit is contained in:
commit
030fffa57c
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue