about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-09-24 03:46:00 -0700
committerbors <bors@rust-lang.org>2013-09-24 03:46:00 -0700
commit85ca934bfe4dc3fc9dc0183a95a95f2958deb374 (patch)
tree246bd6029477155e1197bd6dc7b5c5b8818eeab8 /src/libstd
parentc7e672602e5ce0926a189e4b6c1f38e6d52a29d1 (diff)
parent426ad12671d41d79552ad69c3e0db6abf9ad4834 (diff)
downloadrust-85ca934bfe4dc3fc9dc0183a95a95f2958deb374.tar.gz
rust-85ca934bfe4dc3fc9dc0183a95a95f2958deb374.zip
auto merge of #9457 : klutzy/rust/doc-fix, r=alexcrichton
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/local_data.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/local_data.rs b/src/libstd/local_data.rs
index 2e7d5a1176c..9c4e5ba60df 100644
--- a/src/libstd/local_data.rs
+++ b/src/libstd/local_data.rs
@@ -25,8 +25,8 @@ modify/read the slot specified by the key.
 ~~~{.rust}
 use std::local_data;
 
-local_data_key!(key_int: int);
-local_data_key!(key_vector: ~[int]);
+local_data_key!(key_int: int)
+local_data_key!(key_vector: ~[int])
 
 local_data::set(key_int, 3);
 local_data::get(key_int, |opt| assert_eq!(opt, Some(&3)));