about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-09-21 04:45:57 -0700
committerbors <bors@rust-lang.org>2013-09-21 04:45:57 -0700
commit030fffa57cb27f332447ce51918e760ebccc5a8f (patch)
tree8fc57bb82ac74f5650e521eb271721adb8cbb997 /src/libstd
parentb094cf48e1c244978630d37af2f5ca03f540c719 (diff)
parenteb519b952d2cc2b2af6b3be38377daa431983929 (diff)
downloadrust-030fffa57cb27f332447ce51918e760ebccc5a8f.tar.gz
rust-030fffa57cb27f332447ce51918e760ebccc5a8f.zip
auto merge of #9368 : StrLght/rust/master, r=thestinger
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/option.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/option.rs b/src/libstd/option.rs
index 42878f6effb..37c5807c70b 100644
--- a/src/libstd/option.rs
+++ b/src/libstd/option.rs
@@ -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 => ()
 }