Skip to content

Commit

Permalink
Rename std::ebml::Reader => std::ebml::reader, same for writer
Browse files Browse the repository at this point in the history
Closes #4076
  • Loading branch information
catamorphism committed Dec 7, 2012
1 parent fe9a339 commit d2ad028
Show file tree
Hide file tree
Showing 6 changed files with 179 additions and 179 deletions.
4 changes: 2 additions & 2 deletions src/librustc/metadata/csearch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// Searching for information from the cstore

use std::ebml;
use Reader = std::ebml::Reader;
use reader = std::ebml::reader;
use syntax::ast;
use syntax::ast_util;
use syntax::ast_map;
Expand Down Expand Up @@ -192,7 +192,7 @@ fn get_field_type(tcx: ty::ctxt, class_id: ast::def_id,
def: ast::def_id) -> ty::ty_param_bounds_and_ty {
let cstore = tcx.cstore;
let cdata = cstore::get_crate_data(cstore, class_id.crate);
let all_items = Reader::get_doc(Reader::Doc(cdata.data), tag_items);
let all_items = reader::get_doc(reader::Doc(cdata.data), tag_items);
debug!("Looking up %?", class_id);
let class_doc = expect(tcx.diag,
decoder::maybe_find_item(class_id.node, all_items),
Expand Down
Loading

0 comments on commit d2ad028

Please sign in to comment.