Skip to content

Commit baf43e1

Browse files
committed
Fix typo
1 parent fea751b commit baf43e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/visitor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ impl<'a> FmtVisitor<'a> {
353353

354354
fn format_mod(&mut self, m: &ast::Mod, s: Span, ident: ast::Ident, attrs: &[ast::Attribute]) {
355355
debug!("FmtVisitor::format_mod: ident: {:?}, span: {:?}", ident, s);
356-
// Decide whether this is a inline mod or an external mod.
356+
// Decide whether this is an inline mod or an external mod.
357357
// There isn't any difference between inline and external mod in AST,
358358
// so we use the trick of searching for an opening brace. (Tricks based
359359
// on inner span doesn't work in case of mod with no items.)

0 commit comments

Comments
 (0)