chore: remvoe todos hiding in autofmt
This commit is contained in:
1 parent
34f8ffb508
commit
0b110075ef
2 files changed
+3
-3
No files matched your search
@@ -171,7 +171,7 @@ pub fn collect_from_expr<'a>(expr: &'a Expr, macros: &mut Vec<CollectedMacro<'a>
|
||||
| Expr::Unary(_)
|
||||
| Expr::Verbatim(_) => {}
|
||||
|
||||
_ => todo!(),
|
||||
_ => {},
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user