rustdoc: Rename astsrv::ctxt.map to ast_map

This commit is contained in:
Brian Anderson
2012-01-25 21:21:21 -08:00
parent c590bdeea4
commit 38908581f7
4 changed files with 11 additions and 11 deletions

View File

@@ -19,7 +19,7 @@ export exec;
type ctxt = {
ast: @ast::crate,
map: ast_map::map
ast_map: ast_map::map
};
type ctxt_handler<T> = fn~(ctxt: ctxt) -> T;
@@ -48,7 +48,7 @@ fn build_ctxt(ast: @ast::crate) -> ctxt {
{
ast: ast,
map: ast_map::map_crate(*ast)
ast_map: ast_map::map_crate(*ast)
}
}
@@ -76,7 +76,7 @@ mod tests {
let source = "fn a() { }";
let srv = mk_srv_from_str(source);
exec(srv) {|ctxt|
assert ctxt.map.size() != 0u
assert ctxt.ast_map.size() != 0u
};
}