diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2013-07-17 16:41:35 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2013-07-23 15:23:02 -0700 |
| commit | 1d9181bd760cb89171e892204338bb64275eb4e5 (patch) | |
| tree | a716886ddcfd3d31333a6dfef65d92bd38963362 /src/libextra | |
| parent | 9a093ab70a7d7b12e9cddf644e1a975375937465 (diff) | |
| download | rust-1d9181bd760cb89171e892204338bb64275eb4e5.tar.gz rust-1d9181bd760cb89171e892204338bb64275eb4e5.zip | |
extra: remove a @ in workcache config.
Diffstat (limited to 'src/libextra')
| -rw-r--r-- | src/libextra/workcache.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libextra/workcache.rs b/src/libextra/workcache.rs index 191dd6460cd..41a65706741 100644 --- a/src/libextra/workcache.rs +++ b/src/libextra/workcache.rs @@ -164,7 +164,7 @@ impl Logger { struct Context { db: RWARC<Database>, logger: @mut Logger, - cfg: @json::Object, + cfg: json::Object, freshness: TreeMap<~str,@fn(&str,&str)->bool> } @@ -215,7 +215,7 @@ fn digest_file(path: &Path) -> ~str { } impl Context { - pub fn new(db: RWARC<Database>, lg: @mut Logger, cfg: @json::Object) + pub fn new(db: RWARC<Database>, lg: @mut Logger, cfg: json::Object) -> Context { Context { db: db, @@ -361,7 +361,7 @@ fn test() { db_cache: TreeMap::new(), db_dirty: false }); let lg = @mut Logger { a: () }; - let cfg = @HashMap::new(); + let cfg = HashMap::new(); let cx = @Context::new(db, lg, cfg); let w:Work<~str> = do cx.prep("test1") |prep| { let pth = Path("foo.c"); |
