Skip to content

Commit

Permalink
pacify the mercilous tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Aug 17, 2016
1 parent f3990fe commit 1a91e67
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/librustc_metadata/encoder.rs
Expand Up @@ -947,8 +947,9 @@ impl<'a, 'tcx, 'encoder> ItemContentBuilder<'a, 'tcx, 'encoder> {

// Encode all the items in self module.
for foreign_item in &fm.items {
self.rbml_w.wr_tagged_u64(tag_mod_child,
def_to_u64(ecx.tcx.map.local_def_id(foreign_item.id)));
self.rbml_w.wr_tagged_u64(
tag_mod_child,
def_to_u64(ecx.tcx.map.local_def_id(foreign_item.id)));
}
self.encode_visibility(vis);
encode_stability(self.rbml_w, stab);
Expand Down

0 comments on commit 1a91e67

Please sign in to comment.