Skip to content

Commit

Permalink
auto merge of #7938 : crabtw/rust/foreign-vis, r=huonw
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed Jul 22, 2013
2 parents fc05819 + 85387e1 commit 3d6c0bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libsyntax/print/pprust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -457,13 +457,13 @@ pub fn print_foreign_item(s: @ps, item: &ast::foreign_item) {
match item.node {
ast::foreign_item_fn(ref decl, purity, ref generics) => {
print_fn(s, decl, Some(purity), AbiSet::Rust(), item.ident, generics, None,
ast::inherited);
item.vis);
end(s); // end head-ibox
word(s.s, ";");
end(s); // end the outer fn box
}
ast::foreign_item_static(ref t, m) => {
head(s, "static");
head(s, visibility_qualified(item.vis, "static"));
if m {
word_space(s, "mut");
}
Expand Down

0 comments on commit 3d6c0bc

Please sign in to comment.