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.
1 parent b7bbc2e commit eb519b9Copy full SHA for eb519b9
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