diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2013-01-23 11:08:33 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-01-23 14:25:06 -0500 |
| commit | 203fcbd0f360fdae9db551bf63e14fe152150cc9 (patch) | |
| tree | 6dc731f43ab9f703e52bdb6091e0c859e1569689 /src/libstd/workcache.rs | |
| parent | bc96fe9c4995bcf28e084e3a84293ebbf47f84d4 (diff) | |
| download | rust-203fcbd0f360fdae9db551bf63e14fe152150cc9.tar.gz rust-203fcbd0f360fdae9db551bf63e14fe152150cc9.zip | |
rename hashmap find/get -> find_copy/get_copy
Diffstat (limited to 'src/libstd/workcache.rs')
| -rw-r--r-- | src/libstd/workcache.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/workcache.rs b/src/libstd/workcache.rs index caf460a9be9..18b30f72ef0 100644 --- a/src/libstd/workcache.rs +++ b/src/libstd/workcache.rs @@ -173,7 +173,7 @@ impl Database { declared_inputs: &WorkMap) -> Option<(WorkMap, WorkMap, ~str)> { let k = json_encode(&(fn_name, declared_inputs)); - match self.db_cache.find(&k) { + match self.db_cache.find_copy(&k) { None => None, Some(v) => Some(json_decode(v)) } @@ -297,7 +297,7 @@ impl @Mut<Prep> : TPrep { name: &str, val: &str) -> bool { do self.borrow_imm |p| { let k = kind.to_owned(); - let f = (p.ctxt.freshness.get(&k))(name, val); + let f = (*p.ctxt.freshness.get_ref(&k))(name, val); do p.ctxt.logger.borrow_imm |lg| { if f { lg.info(fmt!("%s %s:%s is fresh", |
