Skip to content

Commit d2ad028

Browse files
committed
Rename std::ebml::Reader => std::ebml::reader, same for writer
Closes #4076
1 parent fe9a339 commit d2ad028

File tree

6 files changed

+179
-179
lines changed

6 files changed

+179
-179
lines changed

src/librustc/metadata/csearch.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// Searching for information from the cstore
1212

1313
use std::ebml;
14-
use Reader = std::ebml::Reader;
14+
use reader = std::ebml::reader;
1515
use syntax::ast;
1616
use syntax::ast_util;
1717
use syntax::ast_map;
@@ -192,7 +192,7 @@ fn get_field_type(tcx: ty::ctxt, class_id: ast::def_id,
192192
def: ast::def_id) -> ty::ty_param_bounds_and_ty {
193193
let cstore = tcx.cstore;
194194
let cdata = cstore::get_crate_data(cstore, class_id.crate);
195-
let all_items = Reader::get_doc(Reader::Doc(cdata.data), tag_items);
195+
let all_items = reader::get_doc(reader::Doc(cdata.data), tag_items);
196196
debug!("Looking up %?", class_id);
197197
let class_doc = expect(tcx.diag,
198198
decoder::maybe_find_item(class_id.node, all_items),

0 commit comments

Comments
 (0)