Add semicolons for consistency

`clippy::semicolon_if_nothing_returned`
This commit is contained in:
Aramis Razzaghipour
2021-10-03 23:39:43 +11:00
parent 60c5449120
commit 55c0b86cde
46 changed files with 151 additions and 151 deletions

View File

@@ -169,7 +169,7 @@ impl fmt::Display for Subtree {
match tt {
TokenTree::Leaf(Leaf::Punct(p)) => {
needs_space = p.spacing == Spacing::Alone;
fmt::Display::fmt(p, f)?
fmt::Display::fmt(p, f)?;
}
tt => fmt::Display::fmt(tt, f)?,
}