1
Fork 0

update dependencies and fix compile errors

This commit is contained in:
Jakko Sikkar 2015-11-23 20:54:33 +02:00
parent 40eb3ea857
commit 411fa40988
2 changed files with 9 additions and 9 deletions

View file

@ -340,20 +340,20 @@ impl<'a> FmtVisitor<'a> {
}
match ii.node {
ast::MethodImplItem(ref sig, ref body) => {
ast::ImplItemKind::Method(ref sig, ref body) => {
self.visit_fn(visit::FnKind::Method(ii.ident, sig, Some(ii.vis)),
&sig.decl,
body,
ii.span,
ii.id);
}
ast::ConstImplItem(..) => {
ast::ImplItemKind::Const(..) => {
// FIXME: Implement
}
ast::TypeImplItem(_) => {
ast::ImplItemKind::Type(_) => {
// FIXME: Implement
}
ast::MacImplItem(ref mac) => {
ast::ImplItemKind::Macro(ref mac) => {
self.visit_mac(mac);
}
}