Skip to content

Commit 42601b9

Browse files
committed
Resolve needless_continue pedantic clippy lint
warning: this `continue` expression is redundant --> src/expr.rs:2246:21 | 2246 | continue; | ^^^^^^^^ | = help: consider dropping the `continue` expression = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_continue = note: `-W clippy::needless-continue` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::needless_continue)]`
1 parent dc1c012 commit 42601b9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/expr.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2243,7 +2243,6 @@ pub(crate) mod parsing {
22432243
if lookahead.peek(Token![if]) {
22442244
expr.else_branch = Some((else_token, Box::new(Expr::PLACEHOLDER)));
22452245
clauses.push(expr);
2246-
continue;
22472246
} else if lookahead.peek(token::Brace) {
22482247
expr.else_branch = Some((
22492248
else_token,

0 commit comments

Comments
 (0)