Use turbofish notation.

This commit is contained in:
Stephen Chung
2022-02-08 21:28:15 +08:00
parent 83b213b086
commit 8cf6f424a5
4 changed files with 27 additions and 25 deletions

View File

@@ -477,9 +477,11 @@ impl Stmt {
| Self::Expr(..)
| Self::FnCall(..) => true,
Self::Noop(..) | Self::While(..) | Self::Do(..) | Self::For(..) | Self::TryCatch(..) => {
false
}
Self::Noop(..)
| Self::While(..)
| Self::Do(..)
| Self::For(..)
| Self::TryCatch(..) => false,
Self::Var(..) | Self::Assignment(..) | Self::BreakLoop(..) | Self::Return(..) => false,