Skip to content

Commit

Permalink
Fix build on nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
sbstp committed Aug 25, 2015
1 parent 393a151 commit 6adb6a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/visitor.rs
Expand Up @@ -160,7 +160,7 @@ impl<'a, 'v> visit::Visitor<'v> for FmtVisitor<'a> {
codemap::mk_sp(s.lo, b.span.lo));
self.buffer.push_str(&new_fn);
}
visit::FkFnBlock(..) => {}
visit::FkClosure(..) => {}
}

self.last_pos = b.span.lo;
Expand Down

0 comments on commit 6adb6a1

Please sign in to comment.