We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b094cf4 + eb519b9 commit 030fffaCopy full SHA for 030fffa
src/libstd/option.rs
@@ -28,7 +28,7 @@ let msg = Some(~"howdy");
28
29
// Take a reference to the contained string
30
match msg {
31
- Some(ref m) => io::println(m),
+ Some(ref m) => io::println(*m),
32
None => ()
33
}
34
0 commit comments