[INFO] fetching crate hl_core 0.1.3... [INFO] linting hl_core-0.1.3 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate hl_core 0.1.3 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate hl_core 0.1.3 [INFO] finished tweaking crates.io crate hl_core 0.1.3 [INFO] tweaked toml for crates.io crate hl_core 0.1.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hl_core 0.1.3 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1aa21dc049ff01640948a82ef47e473889d65e36f36110747cb37bb4817e6eb [INFO] running `Command { std: "docker" "start" "-a" "b1aa21dc049ff01640948a82ef47e473889d65e36f36110747cb37bb4817e6eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1aa21dc049ff01640948a82ef47e473889d65e36f36110747cb37bb4817e6eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1aa21dc049ff01640948a82ef47e473889d65e36f36110747cb37bb4817e6eb", kill_on_drop: false }` [INFO] [stdout] b1aa21dc049ff01640948a82ef47e473889d65e36f36110747cb37bb4817e6eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d37ad8828515472d87bd7d46805ea484168bfe54cac6f4d418c480b16e0d0f8e [INFO] running `Command { std: "docker" "start" "-a" "d37ad8828515472d87bd7d46805ea484168bfe54cac6f4d418c480b16e0d0f8e", kill_on_drop: false }` [INFO] [stderr] Checking hl_core v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/actionscript.rs:287:33 [INFO] [stdout] | [INFO] [stdout] 287 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] = note: `#[warn(clippy::into_iter_on_ref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/actionscript.rs:379:21 [INFO] [stdout] | [INFO] [stdout] 379 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] = note: `#[warn(clippy::assign_op_pattern)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/actionscript.rs:381:25 [INFO] [stdout] | [INFO] [stdout] 381 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/actionscript.rs:391:17 [INFO] [stdout] | [INFO] [stdout] 391 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/ada.rs:146:33 [INFO] [stdout] | [INFO] [stdout] 146 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/ada.rs:243:21 [INFO] [stdout] | [INFO] [stdout] 243 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/ada.rs:245:25 [INFO] [stdout] | [INFO] [stdout] 245 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/ada.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/lexers/bash.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | / if self.ch == 'E' { [INFO] [stdout] 104 | | if self.input[self.position + 1] == 'O' { [INFO] [stdout] 105 | | if self.input[self.position + 2] == 'F' { [INFO] [stdout] 106 | | self.read_char(); [INFO] [stdout] ... | [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 103 ~ if self.ch == 'E' [INFO] [stdout] 104 ~ && self.input[self.position + 1] == 'O' { [INFO] [stdout] 105 | if self.input[self.position + 2] == 'F' { [INFO] [stdout] ... [INFO] [stdout] 110 | } [INFO] [stdout] 111 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/lexers/bash.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | / if self.input[self.position + 1] == 'O' { [INFO] [stdout] 105 | | if self.input[self.position + 2] == 'F' { [INFO] [stdout] 106 | | self.read_char(); [INFO] [stdout] 107 | | self.read_char(); [INFO] [stdout] ... | [INFO] [stdout] 111 | | } [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 104 ~ if self.input[self.position + 1] == 'O' [INFO] [stdout] 105 ~ && self.input[self.position + 2] == 'F' { [INFO] [stdout] 106 | self.read_char(); [INFO] [stdout] ... [INFO] [stdout] 109 | break; [INFO] [stdout] 110 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/bash.rs:218:33 [INFO] [stdout] | [INFO] [stdout] 218 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/bash.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/bash.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/bash.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/bash.rs:333:25 [INFO] [stdout] | [INFO] [stdout] 333 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/bash.rs:343:17 [INFO] [stdout] | [INFO] [stdout] 343 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/c.rs:190:33 [INFO] [stdout] | [INFO] [stdout] 190 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/c.rs:282:21 [INFO] [stdout] | [INFO] [stdout] 282 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/c.rs:284:25 [INFO] [stdout] | [INFO] [stdout] 284 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/c.rs:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/clojure.rs:144:33 [INFO] [stdout] | [INFO] [stdout] 144 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/clojure.rs:235:21 [INFO] [stdout] | [INFO] [stdout] 235 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/clojure.rs:237:25 [INFO] [stdout] | [INFO] [stdout] 237 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/clojure.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/coffescript.rs:218:33 [INFO] [stdout] | [INFO] [stdout] 218 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/coffescript.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/coffescript.rs:278:25 [INFO] [stdout] | [INFO] [stdout] 278 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/coffescript.rs:336:21 [INFO] [stdout] | [INFO] [stdout] 336 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/coffescript.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 338 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/coffescript.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/cpp.rs:190:33 [INFO] [stdout] | [INFO] [stdout] 190 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/cpp.rs:288:21 [INFO] [stdout] | [INFO] [stdout] 288 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/cpp.rs:290:25 [INFO] [stdout] | [INFO] [stdout] 290 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/cpp.rs:300:17 [INFO] [stdout] | [INFO] [stdout] 300 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/cs.rs:280:33 [INFO] [stdout] | [INFO] [stdout] 280 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/cs.rs:377:21 [INFO] [stdout] | [INFO] [stdout] 377 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/cs.rs:379:25 [INFO] [stdout] | [INFO] [stdout] 379 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/cs.rs:389:17 [INFO] [stdout] | [INFO] [stdout] 389 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/css.rs:218:33 [INFO] [stdout] | [INFO] [stdout] 218 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/css.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/css.rs:333:25 [INFO] [stdout] | [INFO] [stdout] 333 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/css.rs:343:17 [INFO] [stdout] | [INFO] [stdout] 343 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/cuda.rs:190:33 [INFO] [stdout] | [INFO] [stdout] 190 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/cuda.rs:282:21 [INFO] [stdout] | [INFO] [stdout] 282 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/cuda.rs:284:25 [INFO] [stdout] | [INFO] [stdout] 284 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/cuda.rs:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/dart.rs:185:33 [INFO] [stdout] | [INFO] [stdout] 185 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/dart.rs:284:21 [INFO] [stdout] | [INFO] [stdout] 284 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/dart.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/dart.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/actionscript.rs:287:33 [INFO] [stdout] | [INFO] [stdout] 287 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] = note: `#[warn(clippy::into_iter_on_ref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/actionscript.rs:379:21 [INFO] [stdout] | [INFO] [stdout] 379 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] = note: `#[warn(clippy::assign_op_pattern)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/actionscript.rs:381:25 [INFO] [stdout] | [INFO] [stdout] 381 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/edn.rs:129:33 [INFO] [stdout] | [INFO] [stdout] 129 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/lexers/edn.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | / match &id[..] { [INFO] [stdout] 131 | | _ => Err(String::from("Not a keyword")), [INFO] [stdout] 132 | | } [INFO] [stdout] | |_____^ help: consider using the match body instead: `Err(String::from("Not a keyword"))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding [INFO] [stdout] = note: `#[warn(clippy::match_single_binding)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/actionscript.rs:391:17 [INFO] [stdout] | [INFO] [stdout] 391 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/edn.rs:202:21 [INFO] [stdout] | [INFO] [stdout] 202 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/edn.rs:204:25 [INFO] [stdout] | [INFO] [stdout] 204 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/edn.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/ada.rs:146:33 [INFO] [stdout] | [INFO] [stdout] 146 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/ada.rs:243:21 [INFO] [stdout] | [INFO] [stdout] 243 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/ada.rs:245:25 [INFO] [stdout] | [INFO] [stdout] 245 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/ada.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/lexers/bash.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | / if self.ch == 'E' { [INFO] [stdout] 104 | | if self.input[self.position + 1] == 'O' { [INFO] [stdout] 105 | | if self.input[self.position + 2] == 'F' { [INFO] [stdout] 106 | | self.read_char(); [INFO] [stdout] ... | [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 103 ~ if self.ch == 'E' [INFO] [stdout] 104 ~ && self.input[self.position + 1] == 'O' { [INFO] [stdout] 105 | if self.input[self.position + 2] == 'F' { [INFO] [stdout] ... [INFO] [stdout] 110 | } [INFO] [stdout] 111 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/lexers/bash.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | / if self.input[self.position + 1] == 'O' { [INFO] [stdout] 105 | | if self.input[self.position + 2] == 'F' { [INFO] [stdout] 106 | | self.read_char(); [INFO] [stdout] 107 | | self.read_char(); [INFO] [stdout] ... | [INFO] [stdout] 111 | | } [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 104 ~ if self.input[self.position + 1] == 'O' [INFO] [stdout] 105 ~ && self.input[self.position + 2] == 'F' { [INFO] [stdout] 106 | self.read_char(); [INFO] [stdout] ... [INFO] [stdout] 109 | break; [INFO] [stdout] 110 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/bash.rs:218:33 [INFO] [stdout] | [INFO] [stdout] 218 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/bash.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/bash.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/bash.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/bash.rs:333:25 [INFO] [stdout] | [INFO] [stdout] 333 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/bash.rs:343:17 [INFO] [stdout] | [INFO] [stdout] 343 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/erlang.rs:257:33 [INFO] [stdout] | [INFO] [stdout] 257 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/erlang.rs:350:21 [INFO] [stdout] | [INFO] [stdout] 350 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/erlang.rs:352:25 [INFO] [stdout] | [INFO] [stdout] 352 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/erlang.rs:368:17 [INFO] [stdout] | [INFO] [stdout] 368 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/c.rs:190:33 [INFO] [stdout] | [INFO] [stdout] 190 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/c.rs:282:21 [INFO] [stdout] | [INFO] [stdout] 282 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/c.rs:284:25 [INFO] [stdout] | [INFO] [stdout] 284 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/c.rs:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/go.rs:205:33 [INFO] [stdout] | [INFO] [stdout] 205 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/clojure.rs:144:33 [INFO] [stdout] | [INFO] [stdout] 144 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/go.rs:298:21 [INFO] [stdout] | [INFO] [stdout] 298 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/go.rs:300:25 [INFO] [stdout] | [INFO] [stdout] 300 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/go.rs:310:17 [INFO] [stdout] | [INFO] [stdout] 310 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/clojure.rs:235:21 [INFO] [stdout] | [INFO] [stdout] 235 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/clojure.rs:237:25 [INFO] [stdout] | [INFO] [stdout] 237 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/clojure.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/groovy.rs:199:33 [INFO] [stdout] | [INFO] [stdout] 199 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/coffescript.rs:218:33 [INFO] [stdout] | [INFO] [stdout] 218 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/groovy.rs:292:21 [INFO] [stdout] | [INFO] [stdout] 292 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/groovy.rs:294:25 [INFO] [stdout] | [INFO] [stdout] 294 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/groovy.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/coffescript.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/coffescript.rs:278:25 [INFO] [stdout] | [INFO] [stdout] 278 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/coffescript.rs:336:21 [INFO] [stdout] | [INFO] [stdout] 336 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/coffescript.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 338 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/coffescript.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/haskell.rs:166:33 [INFO] [stdout] | [INFO] [stdout] 166 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/haskell.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 273 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/haskell.rs:275:25 [INFO] [stdout] | [INFO] [stdout] 275 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/haskell.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/cpp.rs:190:33 [INFO] [stdout] | [INFO] [stdout] 190 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/cpp.rs:288:21 [INFO] [stdout] | [INFO] [stdout] 288 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/html.rs:141:33 [INFO] [stdout] | [INFO] [stdout] 141 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/cpp.rs:290:25 [INFO] [stdout] | [INFO] [stdout] 290 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/cpp.rs:300:17 [INFO] [stdout] | [INFO] [stdout] 300 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/html.rs:232:21 [INFO] [stdout] | [INFO] [stdout] 232 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/html.rs:234:25 [INFO] [stdout] | [INFO] [stdout] 234 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/html.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/cs.rs:280:33 [INFO] [stdout] | [INFO] [stdout] 280 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/cs.rs:377:21 [INFO] [stdout] | [INFO] [stdout] 377 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/cs.rs:379:25 [INFO] [stdout] | [INFO] [stdout] 379 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/cs.rs:389:17 [INFO] [stdout] | [INFO] [stdout] 389 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/java.rs:317:33 [INFO] [stdout] | [INFO] [stdout] 317 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/java.rs:417:21 [INFO] [stdout] | [INFO] [stdout] 417 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/java.rs:419:25 [INFO] [stdout] | [INFO] [stdout] 419 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/java.rs:429:17 [INFO] [stdout] | [INFO] [stdout] 429 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/css.rs:218:33 [INFO] [stdout] | [INFO] [stdout] 218 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lexers/javascript.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 165 | ... if self.ch == ' ' [INFO] [stdout] | __________________________^ [INFO] [stdout] 166 | | ... || self.ch == ':' [INFO] [stdout] 167 | | ... || self.ch == ':' [INFO] [stdout] 168 | | ... || self.ch == '(' [INFO] [stdout] 169 | | ... || self.ch == '{' [INFO] [stdout] 170 | | ... || self.ch == '\n' [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 165 - if self.ch == ' ' [INFO] [stdout] 166 - || self.ch == ':' [INFO] [stdout] 167 - || self.ch == ':' [INFO] [stdout] 168 - || self.ch == '(' [INFO] [stdout] 169 - || self.ch == '{' [INFO] [stdout] 170 - || self.ch == '\n' [INFO] [stdout] 165 + if !(self.ch != ' ' && self.ch != ':' && self.ch != '(' && self.ch != '{' && self.ch != '\n') [INFO] [stdout] | [INFO] [stdout] 165 - if self.ch == ' ' [INFO] [stdout] 166 - || self.ch == ':' [INFO] [stdout] 167 - || self.ch == ':' [INFO] [stdout] 168 - || self.ch == '(' [INFO] [stdout] 169 - || self.ch == '{' [INFO] [stdout] 170 - || self.ch == '\n' [INFO] [stdout] 165 + if self.ch == ' ' || self.ch == ':' || self.ch == '(' || self.ch == '{' || self.ch == '\n' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lexers/javascript.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 165 | ... if self.ch == ' ' [INFO] [stdout] | __________________________^ [INFO] [stdout] 166 | | ... || self.ch == ':' [INFO] [stdout] 167 | | ... || self.ch == ':' [INFO] [stdout] 168 | | ... || self.ch == '(' [INFO] [stdout] 169 | | ... || self.ch == '{' [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 165 - if self.ch == ' ' [INFO] [stdout] 166 - || self.ch == ':' [INFO] [stdout] 167 - || self.ch == ':' [INFO] [stdout] 168 - || self.ch == '(' [INFO] [stdout] 169 - || self.ch == '{' [INFO] [stdout] 165 + if !(self.ch != ' ' && self.ch != ':' && self.ch != '(' && self.ch != '{') [INFO] [stdout] | [INFO] [stdout] 165 - if self.ch == ' ' [INFO] [stdout] 166 - || self.ch == ':' [INFO] [stdout] 167 - || self.ch == ':' [INFO] [stdout] 168 - || self.ch == '(' [INFO] [stdout] 169 - || self.ch == '{' [INFO] [stdout] 165 + if self.ch == ' ' || self.ch == ':' || self.ch == '(' || self.ch == '{' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lexers/javascript.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 165 | ... if self.ch == ' ' [INFO] [stdout] | __________________________^ [INFO] [stdout] 166 | | ... || self.ch == ':' [INFO] [stdout] 167 | | ... || self.ch == ':' [INFO] [stdout] 168 | | ... || self.ch == '(' [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 165 - if self.ch == ' ' [INFO] [stdout] 166 - || self.ch == ':' [INFO] [stdout] 167 - || self.ch == ':' [INFO] [stdout] 168 - || self.ch == '(' [INFO] [stdout] 165 + if !(self.ch != ' ' && self.ch != ':' && self.ch != '(') [INFO] [stdout] | [INFO] [stdout] 165 - if self.ch == ' ' [INFO] [stdout] 166 - || self.ch == ':' [INFO] [stdout] 167 - || self.ch == ':' [INFO] [stdout] 168 - || self.ch == '(' [INFO] [stdout] 165 + if self.ch == ' ' || self.ch == ':' || self.ch == '(' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lexers/javascript.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 165 | ... if self.ch == ' ' [INFO] [stdout] | __________________________^ [INFO] [stdout] 166 | | ... || self.ch == ':' [INFO] [stdout] 167 | | ... || self.ch == ':' [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 165 - if self.ch == ' ' [INFO] [stdout] 166 - || self.ch == ':' [INFO] [stdout] 167 - || self.ch == ':' [INFO] [stdout] 165 + if !(self.ch != ' ' && self.ch != ':') [INFO] [stdout] | [INFO] [stdout] 165 - if self.ch == ' ' [INFO] [stdout] 166 - || self.ch == ':' [INFO] [stdout] 167 - || self.ch == ':' [INFO] [stdout] 165 + if self.ch == ' ' || self.ch == ':' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/css.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/css.rs:333:25 [INFO] [stdout] | [INFO] [stdout] 333 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/css.rs:343:17 [INFO] [stdout] | [INFO] [stdout] 343 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/cuda.rs:190:33 [INFO] [stdout] | [INFO] [stdout] 190 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/javascript.rs:236:33 [INFO] [stdout] | [INFO] [stdout] 236 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/javascript.rs:296:21 [INFO] [stdout] | [INFO] [stdout] 296 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/javascript.rs:298:25 [INFO] [stdout] | [INFO] [stdout] 298 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/cuda.rs:282:21 [INFO] [stdout] | [INFO] [stdout] 282 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/cuda.rs:284:25 [INFO] [stdout] | [INFO] [stdout] 284 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/cuda.rs:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/javascript.rs:343:21 [INFO] [stdout] | [INFO] [stdout] 343 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/javascript.rs:345:25 [INFO] [stdout] | [INFO] [stdout] 345 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/javascript.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/json.rs:126:33 [INFO] [stdout] | [INFO] [stdout] 126 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/dart.rs:185:33 [INFO] [stdout] | [INFO] [stdout] 185 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/json.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/dart.rs:284:21 [INFO] [stdout] | [INFO] [stdout] 284 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/dart.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/dart.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/edn.rs:129:33 [INFO] [stdout] | [INFO] [stdout] 129 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/lexers/edn.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | / match &id[..] { [INFO] [stdout] 131 | | _ => Err(String::from("Not a keyword")), [INFO] [stdout] 132 | | } [INFO] [stdout] | |_____^ help: consider using the match body instead: `Err(String::from("Not a keyword"))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding [INFO] [stdout] = note: `#[warn(clippy::match_single_binding)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/edn.rs:202:21 [INFO] [stdout] | [INFO] [stdout] 202 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/edn.rs:204:25 [INFO] [stdout] | [INFO] [stdout] 204 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/edn.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/kotlin.rs:284:33 [INFO] [stdout] | [INFO] [stdout] 284 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/kotlin.rs:344:21 [INFO] [stdout] | [INFO] [stdout] 344 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/kotlin.rs:346:25 [INFO] [stdout] | [INFO] [stdout] 346 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/kotlin.rs:398:21 [INFO] [stdout] | [INFO] [stdout] 398 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/kotlin.rs:400:25 [INFO] [stdout] | [INFO] [stdout] 400 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/kotlin.rs:416:17 [INFO] [stdout] | [INFO] [stdout] 416 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/erlang.rs:257:33 [INFO] [stdout] | [INFO] [stdout] 257 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/lexers/lua.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | / if self.ch == ']' { [INFO] [stdout] 79 | | if self.input[self.position + 1] == ']' { [INFO] [stdout] 80 | | self.read_char(); [INFO] [stdout] 81 | | self.read_char(); [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 78 ~ if self.ch == ']' [INFO] [stdout] 79 ~ && self.input[self.position + 1] == ']' { [INFO] [stdout] 80 | self.read_char(); [INFO] [stdout] 81 | self.read_char(); [INFO] [stdout] 82 | break; [INFO] [stdout] 83 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/erlang.rs:350:21 [INFO] [stdout] | [INFO] [stdout] 350 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/erlang.rs:352:25 [INFO] [stdout] | [INFO] [stdout] 352 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/erlang.rs:368:17 [INFO] [stdout] | [INFO] [stdout] 368 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/lua.rs:158:33 [INFO] [stdout] | [INFO] [stdout] 158 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/lua.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/lua.rs:217:25 [INFO] [stdout] | [INFO] [stdout] 217 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/lua.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/lua.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/lua.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/go.rs:205:33 [INFO] [stdout] | [INFO] [stdout] 205 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/makefile.rs:154:33 [INFO] [stdout] | [INFO] [stdout] 154 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/go.rs:298:21 [INFO] [stdout] | [INFO] [stdout] 298 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/go.rs:300:25 [INFO] [stdout] | [INFO] [stdout] 300 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/go.rs:310:17 [INFO] [stdout] | [INFO] [stdout] 310 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/makefile.rs:243:21 [INFO] [stdout] | [INFO] [stdout] 243 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/makefile.rs:245:25 [INFO] [stdout] | [INFO] [stdout] 245 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/makefile.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/groovy.rs:199:33 [INFO] [stdout] | [INFO] [stdout] 199 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/groovy.rs:292:21 [INFO] [stdout] | [INFO] [stdout] 292 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/groovy.rs:294:25 [INFO] [stdout] | [INFO] [stdout] 294 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/groovy.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/markdown.rs:217:33 [INFO] [stdout] | [INFO] [stdout] 217 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/lexers/markdown.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | / match &id[..] { [INFO] [stdout] 219 | | _ => Err(String::from("Not a keyword")), [INFO] [stdout] 220 | | } [INFO] [stdout] | |_____^ help: consider using the match body instead: `Err(String::from("Not a keyword"))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/markdown.rs:271:21 [INFO] [stdout] | [INFO] [stdout] 271 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/markdown.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/markdown.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/haskell.rs:166:33 [INFO] [stdout] | [INFO] [stdout] 166 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/haskell.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 273 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/haskell.rs:275:25 [INFO] [stdout] | [INFO] [stdout] 275 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/haskell.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/nim.rs:173:33 [INFO] [stdout] | [INFO] [stdout] 173 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/nim.rs:238:21 [INFO] [stdout] | [INFO] [stdout] 238 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/nim.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/html.rs:141:33 [INFO] [stdout] | [INFO] [stdout] 141 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/nim.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 285 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/nim.rs:287:25 [INFO] [stdout] | [INFO] [stdout] 287 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/nim.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/html.rs:232:21 [INFO] [stdout] | [INFO] [stdout] 232 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/html.rs:234:25 [INFO] [stdout] | [INFO] [stdout] 234 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/html.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/php.rs:222:33 [INFO] [stdout] | [INFO] [stdout] 222 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/php.rs:354:21 [INFO] [stdout] | [INFO] [stdout] 354 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/java.rs:317:33 [INFO] [stdout] | [INFO] [stdout] 317 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/php.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/php.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/java.rs:417:21 [INFO] [stdout] | [INFO] [stdout] 417 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/java.rs:419:25 [INFO] [stdout] | [INFO] [stdout] 419 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/java.rs:429:17 [INFO] [stdout] | [INFO] [stdout] 429 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lexers/javascript.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 165 | ... if self.ch == ' ' [INFO] [stdout] | __________________________^ [INFO] [stdout] 166 | | ... || self.ch == ':' [INFO] [stdout] 167 | | ... || self.ch == ':' [INFO] [stdout] 168 | | ... || self.ch == '(' [INFO] [stdout] 169 | | ... || self.ch == '{' [INFO] [stdout] 170 | | ... || self.ch == '\n' [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 165 - if self.ch == ' ' [INFO] [stdout] 166 - || self.ch == ':' [INFO] [stdout] 167 - || self.ch == ':' [INFO] [stdout] 168 - || self.ch == '(' [INFO] [stdout] 169 - || self.ch == '{' [INFO] [stdout] 170 - || self.ch == '\n' [INFO] [stdout] 165 + if !(self.ch != ' ' && self.ch != ':' && self.ch != '(' && self.ch != '{' && self.ch != '\n') [INFO] [stdout] | [INFO] [stdout] 165 - if self.ch == ' ' [INFO] [stdout] 166 - || self.ch == ':' [INFO] [stdout] 167 - || self.ch == ':' [INFO] [stdout] 168 - || self.ch == '(' [INFO] [stdout] 169 - || self.ch == '{' [INFO] [stdout] 170 - || self.ch == '\n' [INFO] [stdout] 165 + if self.ch == ' ' || self.ch == ':' || self.ch == '(' || self.ch == '{' || self.ch == '\n' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lexers/javascript.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 165 | ... if self.ch == ' ' [INFO] [stdout] | __________________________^ [INFO] [stdout] 166 | | ... || self.ch == ':' [INFO] [stdout] 167 | | ... || self.ch == ':' [INFO] [stdout] 168 | | ... || self.ch == '(' [INFO] [stdout] 169 | | ... || self.ch == '{' [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 165 - if self.ch == ' ' [INFO] [stdout] 166 - || self.ch == ':' [INFO] [stdout] 167 - || self.ch == ':' [INFO] [stdout] 168 - || self.ch == '(' [INFO] [stdout] 169 - || self.ch == '{' [INFO] [stdout] 165 + if !(self.ch != ' ' && self.ch != ':' && self.ch != '(' && self.ch != '{') [INFO] [stdout] | [INFO] [stdout] 165 - if self.ch == ' ' [INFO] [stdout] 166 - || self.ch == ':' [INFO] [stdout] 167 - || self.ch == ':' [INFO] [stdout] 168 - || self.ch == '(' [INFO] [stdout] 169 - || self.ch == '{' [INFO] [stdout] 165 + if self.ch == ' ' || self.ch == ':' || self.ch == '(' || self.ch == '{' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lexers/javascript.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 165 | ... if self.ch == ' ' [INFO] [stdout] | __________________________^ [INFO] [stdout] 166 | | ... || self.ch == ':' [INFO] [stdout] 167 | | ... || self.ch == ':' [INFO] [stdout] 168 | | ... || self.ch == '(' [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 165 - if self.ch == ' ' [INFO] [stdout] 166 - || self.ch == ':' [INFO] [stdout] 167 - || self.ch == ':' [INFO] [stdout] 168 - || self.ch == '(' [INFO] [stdout] 165 + if !(self.ch != ' ' && self.ch != ':' && self.ch != '(') [INFO] [stdout] | [INFO] [stdout] 165 - if self.ch == ' ' [INFO] [stdout] 166 - || self.ch == ':' [INFO] [stdout] 167 - || self.ch == ':' [INFO] [stdout] 168 - || self.ch == '(' [INFO] [stdout] 165 + if self.ch == ' ' || self.ch == ':' || self.ch == '(' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lexers/javascript.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 165 | ... if self.ch == ' ' [INFO] [stdout] | __________________________^ [INFO] [stdout] 166 | | ... || self.ch == ':' [INFO] [stdout] 167 | | ... || self.ch == ':' [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 165 - if self.ch == ' ' [INFO] [stdout] 166 - || self.ch == ':' [INFO] [stdout] 167 - || self.ch == ':' [INFO] [stdout] 165 + if !(self.ch != ' ' && self.ch != ':') [INFO] [stdout] | [INFO] [stdout] 165 - if self.ch == ' ' [INFO] [stdout] 166 - || self.ch == ':' [INFO] [stdout] 167 - || self.ch == ':' [INFO] [stdout] 165 + if self.ch == ' ' || self.ch == ':' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/proto.rs:199:33 [INFO] [stdout] | [INFO] [stdout] 199 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/proto.rs:290:21 [INFO] [stdout] | [INFO] [stdout] 290 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/proto.rs:292:25 [INFO] [stdout] | [INFO] [stdout] 292 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/proto.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/javascript.rs:236:33 [INFO] [stdout] | [INFO] [stdout] 236 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/javascript.rs:296:21 [INFO] [stdout] | [INFO] [stdout] 296 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/javascript.rs:298:25 [INFO] [stdout] | [INFO] [stdout] 298 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/javascript.rs:343:21 [INFO] [stdout] | [INFO] [stdout] 343 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/javascript.rs:345:25 [INFO] [stdout] | [INFO] [stdout] 345 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/python.rs:181:33 [INFO] [stdout] | [INFO] [stdout] 181 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/javascript.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/python.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/python.rs:242:25 [INFO] [stdout] | [INFO] [stdout] 242 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/json.rs:126:33 [INFO] [stdout] | [INFO] [stdout] 126 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/python.rs:287:21 [INFO] [stdout] | [INFO] [stdout] 287 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/python.rs:289:25 [INFO] [stdout] | [INFO] [stdout] 289 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/python.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/json.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/raw.rs:84:33 [INFO] [stdout] | [INFO] [stdout] 84 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/lexers/raw.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | / match &id[..] { [INFO] [stdout] 86 | | _ => Err(String::from("Not a keyword")), [INFO] [stdout] 87 | | } [INFO] [stdout] | |_____^ help: consider using the match body instead: `Err(String::from("Not a keyword"))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/raw.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/ruby.rs:211:33 [INFO] [stdout] | [INFO] [stdout] 211 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/kotlin.rs:284:33 [INFO] [stdout] | [INFO] [stdout] 284 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/kotlin.rs:344:21 [INFO] [stdout] | [INFO] [stdout] 344 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/kotlin.rs:346:25 [INFO] [stdout] | [INFO] [stdout] 346 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/ruby.rs:304:21 [INFO] [stdout] | [INFO] [stdout] 304 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/ruby.rs:306:25 [INFO] [stdout] | [INFO] [stdout] 306 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/ruby.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 322 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/kotlin.rs:398:21 [INFO] [stdout] | [INFO] [stdout] 398 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/kotlin.rs:400:25 [INFO] [stdout] | [INFO] [stdout] 400 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/kotlin.rs:416:17 [INFO] [stdout] | [INFO] [stdout] 416 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/lexers/lua.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | / if self.ch == ']' { [INFO] [stdout] 79 | | if self.input[self.position + 1] == ']' { [INFO] [stdout] 80 | | self.read_char(); [INFO] [stdout] 81 | | self.read_char(); [INFO] [stdout] ... | [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 78 ~ if self.ch == ']' [INFO] [stdout] 79 ~ && self.input[self.position + 1] == ']' { [INFO] [stdout] 80 | self.read_char(); [INFO] [stdout] 81 | self.read_char(); [INFO] [stdout] 82 | break; [INFO] [stdout] 83 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/lua.rs:158:33 [INFO] [stdout] | [INFO] [stdout] 158 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/lua.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/lua.rs:217:25 [INFO] [stdout] | [INFO] [stdout] 217 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/lua.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/lua.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/lua.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 274 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/rust.rs:321:33 [INFO] [stdout] | [INFO] [stdout] 321 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/rust.rs:384:21 [INFO] [stdout] | [INFO] [stdout] 384 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/rust.rs:386:25 [INFO] [stdout] | [INFO] [stdout] 386 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/makefile.rs:154:33 [INFO] [stdout] | [INFO] [stdout] 154 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/rust.rs:431:21 [INFO] [stdout] | [INFO] [stdout] 431 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/rust.rs:433:25 [INFO] [stdout] | [INFO] [stdout] 433 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/rust.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/makefile.rs:243:21 [INFO] [stdout] | [INFO] [stdout] 243 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/makefile.rs:245:25 [INFO] [stdout] | [INFO] [stdout] 245 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/makefile.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/toml.rs:157:33 [INFO] [stdout] | [INFO] [stdout] 157 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/lexers/toml.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | / match &id[..] { [INFO] [stdout] 159 | | _ => Err(String::from("Not a keyword")), [INFO] [stdout] 160 | | } [INFO] [stdout] | |_____^ help: consider using the match body instead: `Err(String::from("Not a keyword"))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/toml.rs:236:21 [INFO] [stdout] | [INFO] [stdout] 236 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/toml.rs:238:25 [INFO] [stdout] | [INFO] [stdout] 238 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/toml.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/markdown.rs:217:33 [INFO] [stdout] | [INFO] [stdout] 217 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lexers/typescript.rs:161:40 [INFO] [stdout] | [INFO] [stdout] 161 | ... if self.ch == ' ' [INFO] [stdout] | __________________________^ [INFO] [stdout] 162 | | ... || self.ch == ':' [INFO] [stdout] 163 | | ... || self.ch == ':' [INFO] [stdout] 164 | | ... || self.ch == '(' [INFO] [stdout] 165 | | ... || self.ch == '{' [INFO] [stdout] 166 | | ... || self.ch == '\n' [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 161 - if self.ch == ' ' [INFO] [stdout] 162 - || self.ch == ':' [INFO] [stdout] 163 - || self.ch == ':' [INFO] [stdout] 164 - || self.ch == '(' [INFO] [stdout] 165 - || self.ch == '{' [INFO] [stdout] 166 - || self.ch == '\n' [INFO] [stdout] 161 + if !(self.ch != ' ' && self.ch != ':' && self.ch != '(' && self.ch != '{' && self.ch != '\n') [INFO] [stdout] | [INFO] [stdout] 161 - if self.ch == ' ' [INFO] [stdout] 162 - || self.ch == ':' [INFO] [stdout] 163 - || self.ch == ':' [INFO] [stdout] 164 - || self.ch == '(' [INFO] [stdout] 165 - || self.ch == '{' [INFO] [stdout] 166 - || self.ch == '\n' [INFO] [stdout] 161 + if self.ch == ' ' || self.ch == ':' || self.ch == '(' || self.ch == '{' || self.ch == '\n' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lexers/typescript.rs:161:40 [INFO] [stdout] | [INFO] [stdout] 161 | ... if self.ch == ' ' [INFO] [stdout] | __________________________^ [INFO] [stdout] 162 | | ... || self.ch == ':' [INFO] [stdout] 163 | | ... || self.ch == ':' [INFO] [stdout] 164 | | ... || self.ch == '(' [INFO] [stdout] 165 | | ... || self.ch == '{' [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 161 - if self.ch == ' ' [INFO] [stdout] 162 - || self.ch == ':' [INFO] [stdout] 163 - || self.ch == ':' [INFO] [stdout] 164 - || self.ch == '(' [INFO] [stdout] 165 - || self.ch == '{' [INFO] [stdout] 161 + if !(self.ch != ' ' && self.ch != ':' && self.ch != '(' && self.ch != '{') [INFO] [stdout] | [INFO] [stdout] 161 - if self.ch == ' ' [INFO] [stdout] 162 - || self.ch == ':' [INFO] [stdout] 163 - || self.ch == ':' [INFO] [stdout] 164 - || self.ch == '(' [INFO] [stdout] 165 - || self.ch == '{' [INFO] [stdout] 161 + if self.ch == ' ' || self.ch == ':' || self.ch == '(' || self.ch == '{' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lexers/typescript.rs:161:40 [INFO] [stdout] | [INFO] [stdout] 161 | ... if self.ch == ' ' [INFO] [stdout] | __________________________^ [INFO] [stdout] 162 | | ... || self.ch == ':' [INFO] [stdout] 163 | | ... || self.ch == ':' [INFO] [stdout] 164 | | ... || self.ch == '(' [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 161 - if self.ch == ' ' [INFO] [stdout] 162 - || self.ch == ':' [INFO] [stdout] 163 - || self.ch == ':' [INFO] [stdout] 164 - || self.ch == '(' [INFO] [stdout] 161 + if !(self.ch != ' ' && self.ch != ':' && self.ch != '(') [INFO] [stdout] | [INFO] [stdout] 161 - if self.ch == ' ' [INFO] [stdout] 162 - || self.ch == ':' [INFO] [stdout] 163 - || self.ch == ':' [INFO] [stdout] 164 - || self.ch == '(' [INFO] [stdout] 161 + if self.ch == ' ' || self.ch == ':' || self.ch == '(' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lexers/typescript.rs:161:40 [INFO] [stdout] | [INFO] [stdout] 161 | ... if self.ch == ' ' [INFO] [stdout] | __________________________^ [INFO] [stdout] 162 | | ... || self.ch == ':' [INFO] [stdout] 163 | | ... || self.ch == ':' [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 161 - if self.ch == ' ' [INFO] [stdout] 162 - || self.ch == ':' [INFO] [stdout] 163 - || self.ch == ':' [INFO] [stdout] 161 + if !(self.ch != ' ' && self.ch != ':') [INFO] [stdout] | [INFO] [stdout] 161 - if self.ch == ' ' [INFO] [stdout] 162 - || self.ch == ':' [INFO] [stdout] 163 - || self.ch == ':' [INFO] [stdout] 161 + if self.ch == ' ' || self.ch == ':' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/lexers/markdown.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | / match &id[..] { [INFO] [stdout] 219 | | _ => Err(String::from("Not a keyword")), [INFO] [stdout] 220 | | } [INFO] [stdout] | |_____^ help: consider using the match body instead: `Err(String::from("Not a keyword"))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/markdown.rs:271:21 [INFO] [stdout] | [INFO] [stdout] 271 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/markdown.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/markdown.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/typescript.rs:232:33 [INFO] [stdout] | [INFO] [stdout] 232 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/nim.rs:173:33 [INFO] [stdout] | [INFO] [stdout] 173 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/typescript.rs:296:21 [INFO] [stdout] | [INFO] [stdout] 296 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/typescript.rs:298:25 [INFO] [stdout] | [INFO] [stdout] 298 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/nim.rs:238:21 [INFO] [stdout] | [INFO] [stdout] 238 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/nim.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/nim.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 285 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/typescript.rs:343:21 [INFO] [stdout] | [INFO] [stdout] 343 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/nim.rs:287:25 [INFO] [stdout] | [INFO] [stdout] 287 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/nim.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/typescript.rs:345:25 [INFO] [stdout] | [INFO] [stdout] 345 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/typescript.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/php.rs:222:33 [INFO] [stdout] | [INFO] [stdout] 222 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/v.rs:277:33 [INFO] [stdout] | [INFO] [stdout] 277 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/php.rs:354:21 [INFO] [stdout] | [INFO] [stdout] 354 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/php.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/php.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/v.rs:370:21 [INFO] [stdout] | [INFO] [stdout] 370 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/v.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/v.rs:382:17 [INFO] [stdout] | [INFO] [stdout] 382 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/vue.rs:115:33 [INFO] [stdout] | [INFO] [stdout] 115 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/proto.rs:199:33 [INFO] [stdout] | [INFO] [stdout] 199 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/vue.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/proto.rs:290:21 [INFO] [stdout] | [INFO] [stdout] 290 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/proto.rs:292:25 [INFO] [stdout] | [INFO] [stdout] 292 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/proto.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/yaml.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/python.rs:181:33 [INFO] [stdout] | [INFO] [stdout] 181 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/yaml.rs:238:21 [INFO] [stdout] | [INFO] [stdout] 238 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/yaml.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/yaml.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/python.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/python.rs:242:25 [INFO] [stdout] | [INFO] [stdout] 242 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/python.rs:287:21 [INFO] [stdout] | [INFO] [stdout] 287 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/python.rs:289:25 [INFO] [stdout] | [INFO] [stdout] 289 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/python.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/raw.rs:84:33 [INFO] [stdout] | [INFO] [stdout] 84 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/lexers/raw.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | / match &id[..] { [INFO] [stdout] 86 | | _ => Err(String::from("Not a keyword")), [INFO] [stdout] 87 | | } [INFO] [stdout] | |_____^ help: consider using the match body instead: `Err(String::from("Not a keyword"))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/raw.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/zig.rs:267:33 [INFO] [stdout] | [INFO] [stdout] 267 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/zig.rs:332:21 [INFO] [stdout] | [INFO] [stdout] 332 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/zig.rs:334:25 [INFO] [stdout] | [INFO] [stdout] 334 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/ruby.rs:211:33 [INFO] [stdout] | [INFO] [stdout] 211 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/zig.rs:382:21 [INFO] [stdout] | [INFO] [stdout] 382 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/zig.rs:384:25 [INFO] [stdout] | [INFO] [stdout] 384 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/zig.rs:400:17 [INFO] [stdout] | [INFO] [stdout] 400 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/ruby.rs:304:21 [INFO] [stdout] | [INFO] [stdout] 304 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/ruby.rs:306:25 [INFO] [stdout] | [INFO] [stdout] 306 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/ruby.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 322 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/rust.rs:321:33 [INFO] [stdout] | [INFO] [stdout] 321 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/rust.rs:384:21 [INFO] [stdout] | [INFO] [stdout] 384 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/rust.rs:386:25 [INFO] [stdout] | [INFO] [stdout] 386 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/rust.rs:431:21 [INFO] [stdout] | [INFO] [stdout] 431 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/rust.rs:433:25 [INFO] [stdout] | [INFO] [stdout] 433 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/rust.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/toml.rs:157:33 [INFO] [stdout] | [INFO] [stdout] 157 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this match could be replaced by its body itself [INFO] [stdout] --> src/lexers/toml.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | / match &id[..] { [INFO] [stdout] 159 | | _ => Err(String::from("Not a keyword")), [INFO] [stdout] 160 | | } [INFO] [stdout] | |_____^ help: consider using the match body instead: `Err(String::from("Not a keyword"))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/toml.rs:236:21 [INFO] [stdout] | [INFO] [stdout] 236 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/toml.rs:238:25 [INFO] [stdout] | [INFO] [stdout] 238 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/toml.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lexers/typescript.rs:161:40 [INFO] [stdout] | [INFO] [stdout] 161 | ... if self.ch == ' ' [INFO] [stdout] | __________________________^ [INFO] [stdout] 162 | | ... || self.ch == ':' [INFO] [stdout] 163 | | ... || self.ch == ':' [INFO] [stdout] 164 | | ... || self.ch == '(' [INFO] [stdout] 165 | | ... || self.ch == '{' [INFO] [stdout] 166 | | ... || self.ch == '\n' [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 161 - if self.ch == ' ' [INFO] [stdout] 162 - || self.ch == ':' [INFO] [stdout] 163 - || self.ch == ':' [INFO] [stdout] 164 - || self.ch == '(' [INFO] [stdout] 165 - || self.ch == '{' [INFO] [stdout] 166 - || self.ch == '\n' [INFO] [stdout] 161 + if !(self.ch != ' ' && self.ch != ':' && self.ch != '(' && self.ch != '{' && self.ch != '\n') [INFO] [stdout] | [INFO] [stdout] 161 - if self.ch == ' ' [INFO] [stdout] 162 - || self.ch == ':' [INFO] [stdout] 163 - || self.ch == ':' [INFO] [stdout] 164 - || self.ch == '(' [INFO] [stdout] 165 - || self.ch == '{' [INFO] [stdout] 166 - || self.ch == '\n' [INFO] [stdout] 161 + if self.ch == ' ' || self.ch == ':' || self.ch == '(' || self.ch == '{' || self.ch == '\n' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lexers/typescript.rs:161:40 [INFO] [stdout] | [INFO] [stdout] 161 | ... if self.ch == ' ' [INFO] [stdout] | __________________________^ [INFO] [stdout] 162 | | ... || self.ch == ':' [INFO] [stdout] 163 | | ... || self.ch == ':' [INFO] [stdout] 164 | | ... || self.ch == '(' [INFO] [stdout] 165 | | ... || self.ch == '{' [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 161 - if self.ch == ' ' [INFO] [stdout] 162 - || self.ch == ':' [INFO] [stdout] 163 - || self.ch == ':' [INFO] [stdout] 164 - || self.ch == '(' [INFO] [stdout] 165 - || self.ch == '{' [INFO] [stdout] 161 + if !(self.ch != ' ' && self.ch != ':' && self.ch != '(' && self.ch != '{') [INFO] [stdout] | [INFO] [stdout] 161 - if self.ch == ' ' [INFO] [stdout] 162 - || self.ch == ':' [INFO] [stdout] 163 - || self.ch == ':' [INFO] [stdout] 164 - || self.ch == '(' [INFO] [stdout] 165 - || self.ch == '{' [INFO] [stdout] 161 + if self.ch == ' ' || self.ch == ':' || self.ch == '(' || self.ch == '{' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lexers/typescript.rs:161:40 [INFO] [stdout] | [INFO] [stdout] 161 | ... if self.ch == ' ' [INFO] [stdout] | __________________________^ [INFO] [stdout] 162 | | ... || self.ch == ':' [INFO] [stdout] 163 | | ... || self.ch == ':' [INFO] [stdout] 164 | | ... || self.ch == '(' [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 161 - if self.ch == ' ' [INFO] [stdout] 162 - || self.ch == ':' [INFO] [stdout] 163 - || self.ch == ':' [INFO] [stdout] 164 - || self.ch == '(' [INFO] [stdout] 161 + if !(self.ch != ' ' && self.ch != ':' && self.ch != '(') [INFO] [stdout] | [INFO] [stdout] 161 - if self.ch == ' ' [INFO] [stdout] 162 - || self.ch == ':' [INFO] [stdout] 163 - || self.ch == ':' [INFO] [stdout] 164 - || self.ch == '(' [INFO] [stdout] 161 + if self.ch == ' ' || self.ch == ':' || self.ch == '(' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lexers/typescript.rs:161:40 [INFO] [stdout] | [INFO] [stdout] 161 | ... if self.ch == ' ' [INFO] [stdout] | __________________________^ [INFO] [stdout] 162 | | ... || self.ch == ':' [INFO] [stdout] 163 | | ... || self.ch == ':' [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 161 - if self.ch == ' ' [INFO] [stdout] 162 - || self.ch == ':' [INFO] [stdout] 163 - || self.ch == ':' [INFO] [stdout] 161 + if !(self.ch != ' ' && self.ch != ':') [INFO] [stdout] | [INFO] [stdout] 161 - if self.ch == ' ' [INFO] [stdout] 162 - || self.ch == ':' [INFO] [stdout] 163 - || self.ch == ':' [INFO] [stdout] 161 + if self.ch == ' ' || self.ch == ':' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/typescript.rs:232:33 [INFO] [stdout] | [INFO] [stdout] 232 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/typescript.rs:296:21 [INFO] [stdout] | [INFO] [stdout] 296 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/typescript.rs:298:25 [INFO] [stdout] | [INFO] [stdout] 298 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/typescript.rs:343:21 [INFO] [stdout] | [INFO] [stdout] 343 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/typescript.rs:345:25 [INFO] [stdout] | [INFO] [stdout] 345 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/typescript.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/v.rs:277:33 [INFO] [stdout] | [INFO] [stdout] 277 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/v.rs:370:21 [INFO] [stdout] | [INFO] [stdout] 370 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/v.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/v.rs:382:17 [INFO] [stdout] | [INFO] [stdout] 382 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/vue.rs:115:33 [INFO] [stdout] | [INFO] [stdout] 115 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/vue.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/yaml.rs:151:33 [INFO] [stdout] | [INFO] [stdout] 151 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/yaml.rs:238:21 [INFO] [stdout] | [INFO] [stdout] 238 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/yaml.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/yaml.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec` [INFO] [stdout] --> src/lexers/zig.rs:267:33 [INFO] [stdout] | [INFO] [stdout] 267 | let id: String = identifier.into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/zig.rs:332:21 [INFO] [stdout] | [INFO] [stdout] 332 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/zig.rs:334:25 [INFO] [stdout] | [INFO] [stdout] 334 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/zig.rs:382:21 [INFO] [stdout] | [INFO] [stdout] 382 | index = index + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace it with: `index += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/zig.rs:384:25 [INFO] [stdout] | [INFO] [stdout] 384 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of an assign operation [INFO] [stdout] --> src/lexers/zig.rs:400:17 [INFO] [stdout] | [INFO] [stdout] 400 | line = line + 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace it with: `line += 1` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.55s [INFO] running `Command { std: "docker" "inspect" "d37ad8828515472d87bd7d46805ea484168bfe54cac6f4d418c480b16e0d0f8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d37ad8828515472d87bd7d46805ea484168bfe54cac6f4d418c480b16e0d0f8e", kill_on_drop: false }` [INFO] [stdout] d37ad8828515472d87bd7d46805ea484168bfe54cac6f4d418c480b16e0d0f8e