chore: remvoe todos hiding in autofmt

This commit is contained in:
Jonathan Kelley committed 2023-01-13 17:05:45 -08:00
1 parent 34f8ffb508
commit 0b110075ef
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -171,7 +171,7 @@ pub fn collect_from_expr<'a>(expr: &'a Expr, macros: &mut Vec<CollectedMacro<'a>
| Expr::Unary(_)
| Expr::Verbatim(_) => {}
_ => todo!(),
_ => {},
};
}
+2 -2
View File
@@ -93,9 +93,9 @@ pub fn fmt_file(contents: &str) -> Vec<FormattedBlock> {
}
let span = match item.delimiter {
MacroDelimiter::Paren(_) => todo!(),
MacroDelimiter::Paren(b) => b.span,
MacroDelimiter::Brace(b) => b.span,
MacroDelimiter::Bracket(_) => todo!(),
MacroDelimiter::Bracket(b) => b.span,
};
let mut formatted = String::new();