Skip to content

Commit fa2c3c8

Browse files
David Tolnayfacebook-github-bot
authored andcommitted
Resolve needless_continue clippy lint
Summary: ```lang=text warning: this `continue` expression is redundant --> fbcode/buck2/app/buck2_client/src/commands/log/diff/action_divergence.rs:84:21 | 84 | 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: requested on the command line with `-W clippy::needless-continue` warning: this `continue` expression is redundant --> fbcode/buck2/app/buck2_client_ctx/src/stdin.rs:129:21 | 129 | 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: requested on the command line with `-W clippy::needless-continue` warning: this `continue` expression is redundant --> fbcode/buck2/app/buck2_client_ctx/src/stdin.rs:137:17 | 137 | continue; | ^^^^^^^^ | = help: consider dropping the `continue` expression = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_continue warning: this `continue` expression is redundant --> fbcode/buck2/app/buck2_error/src/starlark_error.rs:106:17 | 106 | 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: requested on the command line with `-W clippy::needless-continue` warning: this `continue` expression is redundant --> fbcode/buck2/app/buck2_events/src/span.rs:53:25 | 53 | None => 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: requested on the command line with `-W clippy::needless-continue` warning: this `continue` expression is redundant --> fbcode/buck2/app/buck2_interpreter_for_build/src/interpreter/module_internals.rs:209:25 | 209 | 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: requested on the command line with `-W clippy::needless-continue` warning: this `continue` expression is redundant --> fbcode/buck2/app/buck2_server/src/daemon/server.rs:1601:33 | 1601 | ... 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: requested on the command line with `-W clippy::needless-continue` warning: this `continue` expression is redundant --> fbcode/buck2/app/buck2_server/src/daemon/server.rs:1609:25 | 1609 | continue; | ^^^^^^^^ | = help: consider dropping the `continue` expression = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_continue warning: this `continue` expression is redundant --> fbcode/buck2/dice/dice/src/impls/task/state.rs:62:25 | 62 | 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: requested on the command line with `-W clippy::needless-continue` warning: this `continue` expression is redundant --> fbcode/buck2/facebook/buck2tail/src/main.rs:70:17 | 70 | 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: requested on the command line with `-W clippy::needless-continue` warning: this `continue` expression is redundant --> fbcode/buck2/facebook/buck2tail/src/main.rs:74:17 | 74 | continue; | ^^^^^^^^ | = help: consider dropping the `continue` expression = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_continue warning: this `continue` expression is redundant --> fbcode/buck2/starlark-rust/starlark/src/debug/adapter/implementation.rs:159:47 | 159 | Ok(Next::RemainPaused) => 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: requested on the command line with `-W clippy::needless-continue` warning: this `continue` expression is redundant --> fbcode/buck2/starlark-rust/starlark_bin/bin/bazel.rs:555:21 | 555 | 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: requested on the command line with `-W clippy::needless-continue` warning: this `continue` expression is redundant --> fbcode/buck2/superconsole/src/output.rs:242:13 | 242 | 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: requested on the command line with `-W clippy::needless-continue` errors: 0; warnings: 14 ``` Reviewed By: diliop Differential Revision: D72737414 fbshipit-source-id: 74fb89895a83bd306a81b28fa9e3499c416d180d
1 parent 0ecb03a commit fa2c3c8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/output.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,6 @@ mod tests {
239239
// We expect that should_render() will eventually return true.
240240
while !output.should_render() {
241241
std::thread::yield_now();
242-
continue;
243242
}
244243

245244
// Likewise, we expect that sending output and finalizing wold fail.

0 commit comments

Comments
 (0)