Skip to content

Commit

Permalink
auto merge of #9457 : klutzy/rust/doc-fix, r=alexcrichton
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed Sep 24, 2013
2 parents c7e6726 + 426ad12 commit 85ca934
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstd/local_data.rs
Expand Up @@ -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)));
Expand Down

0 comments on commit 85ca934

Please sign in to comment.