Skip to content

Commit

Permalink
extra: remove a @ in workcache config.
Browse files Browse the repository at this point in the history
  • Loading branch information
graydon committed Jul 23, 2013
1 parent 9a093ab commit 1d9181b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libextra/workcache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>
}
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit 1d9181b

Please sign in to comment.