Remove all external requirements of @ from TLS

Closes #6004
This commit is contained in:
Alex Crichton
2013-07-11 00:35:43 -07:00
parent 11c63eaad2
commit f9bf69d253
12 changed files with 23 additions and 23 deletions

View File

@@ -698,7 +698,7 @@ pub fn get_sctable() -> @mut SCTable {
let sctable_key = (cast::transmute::<(uint, uint),
&fn:Copy(v: @@mut SCTable)>(
(-4 as uint, 0u)));
match local_data::get(sctable_key) {
match local_data::get(sctable_key, |k| k.map(|&k| *k)) {
None => {
let new_table = @@mut new_sctable_internal();
local_data::set(sctable_key,new_table);