[INFO] updating cached repository BearzRobotics/cache_cleaner [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/BearzRobotics/cache_cleaner [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/BearzRobotics/cache_cleaner" "work/ex/clippy-test-run/sources/stable/gh/BearzRobotics/cache_cleaner"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/BearzRobotics/cache_cleaner'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/BearzRobotics/cache_cleaner" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/BearzRobotics/cache_cleaner"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/BearzRobotics/cache_cleaner'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a07e14a9bc051536c354ace5005c830959cf7bff [INFO] sha for GitHub repo BearzRobotics/cache_cleaner: a07e14a9bc051536c354ace5005c830959cf7bff [INFO] validating manifest of BearzRobotics/cache_cleaner on toolchain stable [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of BearzRobotics/cache_cleaner on toolchain stable+rustflags=-Dclippy::into_iter_on_array [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing BearzRobotics/cache_cleaner [INFO] finished frobbing BearzRobotics/cache_cleaner [INFO] frobbed toml for BearzRobotics/cache_cleaner written to work/ex/clippy-test-run/sources/stable/gh/BearzRobotics/cache_cleaner/Cargo.toml [INFO] started frobbing BearzRobotics/cache_cleaner [INFO] finished frobbing BearzRobotics/cache_cleaner [INFO] frobbed toml for BearzRobotics/cache_cleaner written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/BearzRobotics/cache_cleaner/Cargo.toml [INFO] crate BearzRobotics/cache_cleaner has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting BearzRobotics/cache_cleaner against stable+rustflags=-Dclippy::into_iter_on_array for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-6/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/BearzRobotics/cache_cleaner:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dclippy::into_iter_on_array" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+stable" "clippy" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 3f1c4b8a961f8ade094ccb8091730affea4ddd647fb54a2a214b054792adf3e5 [INFO] running `"docker" "start" "-a" "3f1c4b8a961f8ade094ccb8091730affea4ddd647fb54a2a214b054792adf3e5"` [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking libc v0.2.34 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking wild v0.1.1 [INFO] [stderr] Checking log v0.4.0 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking atty v0.2.3 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking crossterm v0.2.0 [INFO] [stderr] Checking clap v2.29.0 [INFO] [stderr] Checking simplelog v0.4.4 [INFO] [stderr] Checking cache_cleaner v0.0.2 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/crawl.rs:27:17 [INFO] [stderr] | [INFO] [stderr] 27 | Crawler{crawler_path: crawler_path} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `crawler_path` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/crawl.rs:27:17 [INFO] [stderr] | [INFO] [stderr] 27 | Crawler{crawler_path: crawler_path} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `crawler_path` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: this `else { if .. }` block can be collapsed [INFO] [stderr] --> src/cleaner.rs:96:8 [INFO] [stderr] | [INFO] [stderr] 96 | }else{ [INFO] [stderr] | ______________^ [INFO] [stderr] 97 | | if (mode == 2) || (mode == 1){ [INFO] [stderr] 98 | | println!("{}: {}", paint("File/Dir didn't exist").with(Color::Red), paths[i]); [INFO] [stderr] 99 | | } [INFO] [stderr] 100 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::collapsible_if)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stderr] help: try [INFO] [stderr] | [INFO] [stderr] 96 | }elseif (mode == 2) || (mode == 1){ [INFO] [stderr] 97 | println!("{}: {}", paint("File/Dir didn't exist").with(Color::Red), paths[i]); [INFO] [stderr] 98 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this `else { if .. }` block can be collapsed [INFO] [stderr] --> src/cleaner.rs:120:7 [INFO] [stderr] | [INFO] [stderr] 120 | }else{ [INFO] [stderr] | __________^ [INFO] [stderr] 121 | | if (mode == 2) || (mode == 1){ [INFO] [stderr] 122 | | println!("{}: {}", paint("File/Dir didn't exist").with(Color::Red), path); [INFO] [stderr] 123 | | } [INFO] [stderr] 124 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stderr] help: try [INFO] [stderr] | [INFO] [stderr] 120 | }elseif (mode == 2) || (mode == 1){ [INFO] [stderr] 121 | println!("{}: {}", paint("File/Dir didn't exist").with(Color::Red), path); [INFO] [stderr] 122 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `wild` [INFO] [stderr] --> src/utils.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use wild; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/utils.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | return 1 [INFO] [stderr] | ^^^^^^^^ help: remove `return` as shown: `1` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_return)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/utils.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | return 2 [INFO] [stderr] | ^^^^^^^^ help: remove `return` as shown: `2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/utils.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | return 0 [INFO] [stderr] | ^^^^^^^^ help: remove `return` as shown: `0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/utils.rs:65:9 [INFO] [stderr] | [INFO] [stderr] 65 | return user_path [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove `return` as shown: `user_path` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/utils.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 80 | return user_path [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove `return` as shown: `user_path` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/utils.rs:104:9 [INFO] [stderr] | [INFO] [stderr] 104 | return home [INFO] [stderr] | ^^^^^^^^^^^ help: remove `return` as shown: `home` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/utils.rs:106:9 [INFO] [stderr] | [INFO] [stderr] 106 | return home [INFO] [stderr] | ^^^^^^^^^^^ help: remove `return` as shown: `home` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: returning the result of a let binding from a block. Consider returning the expression directly. [INFO] [stderr] --> src/utils.rs:163:5 [INFO] [stderr] | [INFO] [stderr] 163 | out_path [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::let_and_return)] on by default [INFO] [stderr] note: this expression can be directly returned [INFO] [stderr] --> src/utils.rs:155:20 [INFO] [stderr] | [INFO] [stderr] 155 | let out_path = { [INFO] [stderr] | ____________________^ [INFO] [stderr] 156 | | if index <= 0{ [INFO] [stderr] 157 | | path.to_string() [INFO] [stderr] 158 | | }else{ // This is here in case the being of the string isn't an env [INFO] [stderr] 159 | | embed_env_into_string(env_name.to_string(), tmp_path.to_string()) [INFO] [stderr] 160 | | } [INFO] [stderr] 161 | | }; [INFO] [stderr] | |_____^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs` [INFO] [stderr] --> src/users.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use std::fs; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/users.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | return user_path [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove `return` as shown: `user_path` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: this `else { if .. }` block can be collapsed [INFO] [stderr] --> src/main.rs:95:8 [INFO] [stderr] | [INFO] [stderr] 95 | }else{ [INFO] [stderr] | ______________^ [INFO] [stderr] 96 | | if cfg!(windows){ [INFO] [stderr] 97 | | env::var("ProgramFiles").expect("Couldn't find env ProgramFiles") + "\\cache_cleaner\\config\\cache_cleaner.conf" [INFO] [stderr] 98 | | }else{ [INFO] [stderr] 99 | | "/etc/cache_cleaner/cache_cleaner.conf".to_string() [INFO] [stderr] 100 | | } [INFO] [stderr] 101 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stderr] help: try [INFO] [stderr] | [INFO] [stderr] 95 | }elseif cfg!(windows){ [INFO] [stderr] 96 | env::var("ProgramFiles").expect("Couldn't find env ProgramFiles") + "\\cache_cleaner\\config\\cache_cleaner.conf" [INFO] [stderr] 97 | }else{ [INFO] [stderr] 98 | "/etc/cache_cleaner/cache_cleaner.conf".to_string() [INFO] [stderr] 99 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this `else { if .. }` block can be collapsed [INFO] [stderr] --> src/main.rs:107:8 [INFO] [stderr] | [INFO] [stderr] 107 | }else{ [INFO] [stderr] | ______________^ [INFO] [stderr] 108 | | if cfg!(windows){ [INFO] [stderr] 109 | | env::var("ProgramFiles").expect("Couldn't find env ProgramFiles") + "\\cache_cleaner\\crawlers\\" [INFO] [stderr] 110 | | }else{ [INFO] [stderr] 111 | | "/usr/share/cache_cleaner/crawlers/".to_string() [INFO] [stderr] 112 | | } [INFO] [stderr] 113 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stderr] help: try [INFO] [stderr] | [INFO] [stderr] 107 | }elseif cfg!(windows){ [INFO] [stderr] 108 | env::var("ProgramFiles").expect("Couldn't find env ProgramFiles") + "\\cache_cleaner\\crawlers\\" [INFO] [stderr] 109 | }else{ [INFO] [stderr] 110 | "/usr/share/cache_cleaner/crawlers/".to_string() [INFO] [stderr] 111 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this `else { if .. }` block can be collapsed [INFO] [stderr] --> src/main.rs:134:9 [INFO] [stderr] | [INFO] [stderr] 134 | } else { [INFO] [stderr] | ____________^ [INFO] [stderr] 135 | | if matches.is_present("delete_all_cache"){ [INFO] [stderr] 136 | | all(0, &config_path); [INFO] [stderr] 137 | | } else if matches.is_present("delete_system_cache"){ [INFO] [stderr] ... | [INFO] [stderr] 146 | | } [INFO] [stderr] 147 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stderr] help: try [INFO] [stderr] | [INFO] [stderr] 134 | } else if matches.is_present("delete_all_cache"){ [INFO] [stderr] 135 | all(0, &config_path); [INFO] [stderr] 136 | } else if matches.is_present("delete_system_cache"){ [INFO] [stderr] 137 | cleaner::delete_system_cache(0, &config_path); [INFO] [stderr] 138 | } else if matches.is_present("delete_user_cache"){ [INFO] [stderr] 139 | cleaner::delete_user_cache(0, &config_path); [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: this `else { if .. }` block can be collapsed [INFO] [stderr] --> src/cleaner.rs:96:8 [INFO] [stderr] | [INFO] [stderr] 96 | }else{ [INFO] [stderr] | ______________^ [INFO] [stderr] 97 | | if (mode == 2) || (mode == 1){ [INFO] [stderr] 98 | | println!("{}: {}", paint("File/Dir didn't exist").with(Color::Red), paths[i]); [INFO] [stderr] 99 | | } [INFO] [stderr] 100 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::collapsible_if)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stderr] help: try [INFO] [stderr] | [INFO] [stderr] 96 | }elseif (mode == 2) || (mode == 1){ [INFO] [stderr] 97 | println!("{}: {}", paint("File/Dir didn't exist").with(Color::Red), paths[i]); [INFO] [stderr] 98 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this `else { if .. }` block can be collapsed [INFO] [stderr] --> src/cleaner.rs:120:7 [INFO] [stderr] | [INFO] [stderr] 120 | }else{ [INFO] [stderr] | __________^ [INFO] [stderr] 121 | | if (mode == 2) || (mode == 1){ [INFO] [stderr] 122 | | println!("{}: {}", paint("File/Dir didn't exist").with(Color::Red), path); [INFO] [stderr] 123 | | } [INFO] [stderr] 124 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stderr] help: try [INFO] [stderr] | [INFO] [stderr] 120 | }elseif (mode == 2) || (mode == 1){ [INFO] [stderr] 121 | println!("{}: {}", paint("File/Dir didn't exist").with(Color::Red), path); [INFO] [stderr] 122 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `wild` [INFO] [stderr] --> src/utils.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use wild; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/utils.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | return 1 [INFO] [stderr] | ^^^^^^^^ help: remove `return` as shown: `1` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_return)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/utils.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | return 2 [INFO] [stderr] | ^^^^^^^^ help: remove `return` as shown: `2` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/utils.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | return 0 [INFO] [stderr] | ^^^^^^^^ help: remove `return` as shown: `0` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/utils.rs:65:9 [INFO] [stderr] | [INFO] [stderr] 65 | return user_path [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove `return` as shown: `user_path` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/utils.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 80 | return user_path [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove `return` as shown: `user_path` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/utils.rs:104:9 [INFO] [stderr] | [INFO] [stderr] 104 | return home [INFO] [stderr] | ^^^^^^^^^^^ help: remove `return` as shown: `home` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/utils.rs:106:9 [INFO] [stderr] | [INFO] [stderr] 106 | return home [INFO] [stderr] | ^^^^^^^^^^^ help: remove `return` as shown: `home` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: returning the result of a let binding from a block. Consider returning the expression directly. [INFO] [stderr] --> src/utils.rs:163:5 [INFO] [stderr] | [INFO] [stderr] 163 | out_path [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::let_and_return)] on by default [INFO] [stderr] note: this expression can be directly returned [INFO] [stderr] --> src/utils.rs:155:20 [INFO] [stderr] | [INFO] [stderr] 155 | let out_path = { [INFO] [stderr] | ____________________^ [INFO] [stderr] 156 | | if index <= 0{ [INFO] [stderr] 157 | | path.to_string() [INFO] [stderr] 158 | | }else{ // This is here in case the being of the string isn't an env [INFO] [stderr] 159 | | embed_env_into_string(env_name.to_string(), tmp_path.to_string()) [INFO] [stderr] 160 | | } [INFO] [stderr] 161 | | }; [INFO] [stderr] | |_____^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs` [INFO] [stderr] --> src/users.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use std::fs; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/users.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | return user_path [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove `return` as shown: `user_path` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: this `else { if .. }` block can be collapsed [INFO] [stderr] --> src/main.rs:95:8 [INFO] [stderr] | [INFO] [stderr] 95 | }else{ [INFO] [stderr] | ______________^ [INFO] [stderr] 96 | | if cfg!(windows){ [INFO] [stderr] 97 | | env::var("ProgramFiles").expect("Couldn't find env ProgramFiles") + "\\cache_cleaner\\config\\cache_cleaner.conf" [INFO] [stderr] 98 | | }else{ [INFO] [stderr] 99 | | "/etc/cache_cleaner/cache_cleaner.conf".to_string() [INFO] [stderr] 100 | | } [INFO] [stderr] 101 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stderr] help: try [INFO] [stderr] | [INFO] [stderr] 95 | }elseif cfg!(windows){ [INFO] [stderr] 96 | env::var("ProgramFiles").expect("Couldn't find env ProgramFiles") + "\\cache_cleaner\\config\\cache_cleaner.conf" [INFO] [stderr] 97 | }else{ [INFO] [stderr] 98 | "/etc/cache_cleaner/cache_cleaner.conf".to_string() [INFO] [stderr] 99 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this `else { if .. }` block can be collapsed [INFO] [stderr] --> src/main.rs:107:8 [INFO] [stderr] | [INFO] [stderr] 107 | }else{ [INFO] [stderr] | ______________^ [INFO] [stderr] 108 | | if cfg!(windows){ [INFO] [stderr] 109 | | env::var("ProgramFiles").expect("Couldn't find env ProgramFiles") + "\\cache_cleaner\\crawlers\\" [INFO] [stderr] 110 | | }else{ [INFO] [stderr] 111 | | "/usr/share/cache_cleaner/crawlers/".to_string() [INFO] [stderr] 112 | | } [INFO] [stderr] 113 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stderr] help: try [INFO] [stderr] | [INFO] [stderr] 107 | }elseif cfg!(windows){ [INFO] [stderr] 108 | env::var("ProgramFiles").expect("Couldn't find env ProgramFiles") + "\\cache_cleaner\\crawlers\\" [INFO] [stderr] 109 | }else{ [INFO] [stderr] 110 | "/usr/share/cache_cleaner/crawlers/".to_string() [INFO] [stderr] 111 | } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this `else { if .. }` block can be collapsed [INFO] [stderr] --> src/main.rs:134:9 [INFO] [stderr] | [INFO] [stderr] 134 | } else { [INFO] [stderr] | ____________^ [INFO] [stderr] 135 | | if matches.is_present("delete_all_cache"){ [INFO] [stderr] 136 | | all(0, &config_path); [INFO] [stderr] 137 | | } else if matches.is_present("delete_system_cache"){ [INFO] [stderr] ... | [INFO] [stderr] 146 | | } [INFO] [stderr] 147 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stderr] help: try [INFO] [stderr] | [INFO] [stderr] 134 | } else if matches.is_present("delete_all_cache"){ [INFO] [stderr] 135 | all(0, &config_path); [INFO] [stderr] 136 | } else if matches.is_present("delete_system_cache"){ [INFO] [stderr] 137 | cleaner::delete_system_cache(0, &config_path); [INFO] [stderr] 138 | } else if matches.is_present("delete_user_cache"){ [INFO] [stderr] 139 | cleaner::delete_user_cache(0, &config_path); [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mode` [INFO] [stderr] --> src/utils.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn find(mode: u8, path: String) -> String{ [INFO] [stderr] | ^^^^ help: consider using `_mode` instead [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tmp` [INFO] [stderr] --> src/crawler_parser.rs:57:21 [INFO] [stderr] | [INFO] [stderr] 57 | let mut tmp = get_data(elements[i].to_string()); [INFO] [stderr] | ^^^ help: consider using `_tmp` instead [INFO] [stderr] [INFO] [stderr] warning: unused variable: `element_vec` [INFO] [stderr] --> src/crawl.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | let element_vec = crawler_parser::crawler_interater(crawler_files, mode, delete_file); [INFO] [stderr] | ^^^^^^^^^^^ help: consider using `_element_vec` instead [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mode` [INFO] [stderr] --> src/utils.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn find(mode: u8, path: String) -> String{ [INFO] [stderr] | ^^^^ help: consider using `_mode` instead [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tmp` [INFO] [stderr] --> src/crawler_parser.rs:57:21 [INFO] [stderr] | [INFO] [stderr] 57 | let mut tmp = get_data(elements[i].to_string()); [INFO] [stderr] | ^^^ help: consider using `_tmp` instead [INFO] [stderr] [INFO] [stderr] warning: unused variable: `element_vec` [INFO] [stderr] --> src/crawl.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | let element_vec = crawler_parser::crawler_interater(crawler_files, mode, delete_file); [INFO] [stderr] | ^^^^^^^^^^^ help: consider using `_element_vec` instead [INFO] [stderr] [INFO] [stderr] warning: function is never used: `find` [INFO] [stderr] --> src/utils.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn find(mode: u8, path: String) -> String{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/cleaner.rs:23:49 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn delete_user_cache(mode: u8, config_path: &String){ [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::ptr_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/cleaner.rs:34:51 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn delete_system_cache(mode: u8, config_path: &String){ [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/cleaner.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | if utils::am_root() == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `utils::am_root()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::bool_comparison)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/cleaner.rs:50:27 [INFO] [stderr] | [INFO] [stderr] 50 | fn section(mode: u8, sec: &String, config_path: &String){ [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/cleaner.rs:50:49 [INFO] [stderr] | [INFO] [stderr] 50 | fn section(mode: u8, sec: &String, config_path: &String){ [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: the loop variable `i` is only used to index `home`. [INFO] [stderr] --> src/cleaner.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | for i in 0..home.len(){ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_range_loop)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stderr] help: consider using an iterator [INFO] [stderr] | [INFO] [stderr] 56 | for in &home{ [INFO] [stderr] | ^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the loop variable `i` is only used to index `home`. [INFO] [stderr] --> src/cleaner.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | for i in 0..home.len(){ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stderr] help: consider using an iterator [INFO] [stderr] | [INFO] [stderr] 66 | for in &home{ [INFO] [stderr] | ^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `find` [INFO] [stderr] --> src/utils.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn find(mode: u8, path: String) -> String{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/cleaner.rs:23:49 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn delete_user_cache(mode: u8, config_path: &String){ [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::ptr_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/cleaner.rs:34:51 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn delete_system_cache(mode: u8, config_path: &String){ [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/cleaner.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | if utils::am_root() == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `utils::am_root()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::bool_comparison)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/cleaner.rs:50:27 [INFO] [stderr] | [INFO] [stderr] 50 | fn section(mode: u8, sec: &String, config_path: &String){ [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/cleaner.rs:50:49 [INFO] [stderr] | [INFO] [stderr] 50 | fn section(mode: u8, sec: &String, config_path: &String){ [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: the loop variable `i` is only used to index `paths`. [INFO] [stderr] --> src/cleaner.rs:81:11 [INFO] [stderr] | [INFO] [stderr] 81 | for i in 0..paths.len(){ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stderr] help: consider using an iterator [INFO] [stderr] | [INFO] [stderr] 81 | for in &paths{ [INFO] [stderr] | ^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/cleaner.rs:82:6 [INFO] [stderr] | [INFO] [stderr] 82 | if utils::check_if_path_exist(&paths[i]) == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `utils::check_if_path_exist(&paths[i])` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/cleaner.rs:106:5 [INFO] [stderr] | [INFO] [stderr] 106 | if utils::check_if_path_exist(&path) == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `utils::check_if_path_exist(&path)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: the loop variable `i` is only used to index `home`. [INFO] [stderr] --> src/cleaner.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | for i in 0..home.len(){ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_range_loop)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stderr] help: consider using an iterator [INFO] [stderr] | [INFO] [stderr] 56 | for in &home{ [INFO] [stderr] | ^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the loop variable `i` is only used to index `home`. [INFO] [stderr] --> src/cleaner.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | for i in 0..home.len(){ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stderr] help: consider using an iterator [INFO] [stderr] | [INFO] [stderr] 66 | for in &home{ [INFO] [stderr] | ^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/conf_parser.rs:19:28 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn read_file(filename: &String, mode: u8, option: u8) -> Vec{ [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: the loop variable `i` is only used to index `paths`. [INFO] [stderr] --> src/cleaner.rs:81:11 [INFO] [stderr] | [INFO] [stderr] 81 | for i in 0..paths.len(){ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stderr] help: consider using an iterator [INFO] [stderr] | [INFO] [stderr] 81 | for in &paths{ [INFO] [stderr] | ^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/cleaner.rs:82:6 [INFO] [stderr] | [INFO] [stderr] 82 | if utils::check_if_path_exist(&paths[i]) == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `utils::check_if_path_exist(&paths[i])` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/cleaner.rs:106:5 [INFO] [stderr] | [INFO] [stderr] 106 | if utils::check_if_path_exist(&path) == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `utils::check_if_path_exist(&path)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/conf_parser.rs:19:28 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn read_file(filename: &String, mode: u8, option: u8) -> Vec{ [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:21:6 [INFO] [stderr] | [INFO] [stderr] 21 | if utils::check_if_path_exist(&filename) == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `utils::check_if_path_exist(&filename)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:7 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("/")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: single-character string constant used as pattern [INFO] [stderr] --> src/conf_parser.rs:35:21 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^ help: try using a char instead: `'/'` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::single_char_pattern)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:37 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("\\")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: single-character string constant used as pattern [INFO] [stderr] --> src/conf_parser.rs:35:51 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^ help: try using a char instead: `'\\'` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:68 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("[")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: single-character string constant used as pattern [INFO] [stderr] --> src/conf_parser.rs:35:82 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^ help: try using a char instead: `'['` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern [INFO] [stderr] [INFO] [stderr] warning: single-character string constant used as pattern [INFO] [stderr] --> src/conf_parser.rs:35:112 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^ help: try using a char instead: `'}'` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:120 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("A:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:152 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("B:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:183 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("C:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:214 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("D:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:245 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("E:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:276 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("F:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:307 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("G:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:338 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("H:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:369 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("I:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:400 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("J:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:431 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("K:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:462 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("L:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:493 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("M:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:524 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("N:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:555 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("O:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:586 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("P:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:617 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("Q:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:648 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("R:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:679 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("S:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:710 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("T:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:741 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("U:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:772 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("V:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:803 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("W:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:834 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("X:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:865 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("Y:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:896 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("Z:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:927 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("a:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:959 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("b:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:990 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("c:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1021 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("d:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1052 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("e:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1083 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("f:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1114 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("g:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1145 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("h:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1176 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("i:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1207 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("j:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1238 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("k:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1269 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("l:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1300 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("m:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1331 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("n:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1362 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("o:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1393 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("p:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1424 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("q:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1455 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("r:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1486 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("s:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1517 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("t:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1548 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("u:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1579 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("v:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1610 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("w:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1641 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("x:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1672 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("y:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1703 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("z:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:39:7 [INFO] [stderr] | [INFO] [stderr] 39 | if l.starts_with("name=") == true || l.starts_with("info=") == true || l.starts_with("root=") == true || l.starts_with("delete=") == true || l.starts_with("wdelete=") == true || l.starts_with("find=") == true || l.starts_with("wfind=") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("name=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] [INFO] [stderr] --> src/conf_parser.rs:21:6 [INFO] [stderr] | [INFO] [stderr] 21 | if utils::check_if_path_exist(&filename) == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `utils::check_if_path_exist(&filename)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:39:41 [INFO] [stderr] | [INFO] [stderr] 39 | if l.starts_with("name=") == true || l.starts_with("info=") == true || l.starts_with("root=") == true || l.starts_with("delete=") == true || l.starts_with("wdelete=") == true || l.starts_with("find=") == true || l.starts_with("wfind=") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("info=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:39:75 [INFO] [stderr] | [INFO] [stderr] 39 | if l.starts_with("name=") == true || l.starts_with("info=") == true || l.starts_with("root=") == true || l.starts_with("delete=") == true || l.starts_with("wdelete=") == true || l.starts_with("find=") == true || l.starts_with("wfind=") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("root=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:39:109 [INFO] [stderr] | [INFO] [stderr] 39 | if l.starts_with("name=") == true || l.starts_with("info=") == true || l.starts_with("root=") == true || l.starts_with("delete=") == true || l.starts_with("wdelete=") == true || l.starts_with("find=") == true || l.starts_with("wfind=") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("delete=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:39:145 [INFO] [stderr] | [INFO] [stderr] 39 | if l.starts_with("name=") == true || l.starts_with("info=") == true || l.starts_with("root=") == true || l.starts_with("delete=") == true || l.starts_with("wdelete=") == true || l.starts_with("find=") == true || l.starts_with("wfind=") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("wdelete=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:39:182 [INFO] [stderr] | [INFO] [stderr] 39 | if l.starts_with("name=") == true || l.starts_with("info=") == true || l.starts_with("root=") == true || l.starts_with("delete=") == true || l.starts_with("wdelete=") == true || l.starts_with("find=") == true || l.starts_with("wfind=") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("find=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:39:216 [INFO] [stderr] | [INFO] [stderr] 39 | if l.starts_with("name=") == true || l.starts_with("info=") == true || l.starts_with("root=") == true || l.starts_with("delete=") == true || l.starts_with("wdelete=") == true || l.starts_with("find=") == true || l.starts_with("wfind=") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("wfind=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: the loop variable `i` is only used to index `work_vec`. [INFO] [stderr] --> src/conf_parser.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 48 | for i in 0..work_vec.len(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stderr] help: consider using an iterator [INFO] [stderr] | [INFO] [stderr] 48 | for in &work_vec{ [INFO] [stderr] | ^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:7 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("/")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] [INFO] [stderr] --> src/conf_parser.rs:61:30 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn parse_config(section: &String, mode: u8, config_path: &String) -> Vec{ [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/conf_parser.rs:61:62 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn parse_config(section: &String, mode: u8, config_path: &String) -> Vec{ [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: single-character string constant used as pattern [INFO] [stderr] --> src/conf_parser.rs:35:21 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^ help: try using a char instead: `'/'` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::single_char_pattern)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:37 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("\\")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: single-character string constant used as pattern [INFO] [stderr] --> src/conf_parser.rs:35:51 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^ help: try using a char instead: `'\\'` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:68 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("[")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: single-character string constant used as pattern [INFO] [stderr] --> src/conf_parser.rs:35:82 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^ help: try using a char instead: `'['` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern [INFO] [stderr] [INFO] [stderr] warning: single-character string constant used as pattern [INFO] [stderr] --> src/conf_parser.rs:35:112 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^ help: try using a char instead: `'}'` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:120 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("A:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:152 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("B:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:183 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("C:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:214 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("D:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:245 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("E:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:276 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("F:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: manual implementation of an assign operation [INFO] [stderr] --> src/conf_parser.rs:70:3 [INFO] [stderr] | [INFO] [stderr] 70 | count = count + 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace it with: `count += 1` [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] | [INFO] [stderr] --> src/conf_parser.rs:35:307 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("G:")` [INFO] [stderr] = note: #[warn(clippy::assign_op_pattern)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:338 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("H:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:369 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("I:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:400 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("J:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:431 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("K:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:462 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("L:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:493 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("M:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:524 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("N:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:555 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("O:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:586 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("P:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:617 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("Q:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:648 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("R:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:679 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("S:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:710 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("T:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:741 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("U:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:772 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("V:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: the loop variable `i` is only used to index `work_vec`. [INFO] [stderr] --> src/conf_parser.rs:82:11 [INFO] [stderr] | [INFO] [stderr] 82 | for i in starting_index..work_vec.len(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stderr] --> src/conf_parser.rs:35:803 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("W:")` [INFO] [stderr] help: consider using an iterator [INFO] [stderr] | [INFO] [stderr] 82 | for in work_vec.iter().skip(starting_index){ [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:834 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("X:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:865 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("Y:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: the loop variable `i` is only used to index `out_vec`. [INFO] [stderr] --> src/conf_parser.rs:92:12 [INFO] [stderr] | [INFO] [stderr] 92 | for i in 0..out_vec.len() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stderr] help: consider using an iterator [INFO] [stderr] | [INFO] [stderr] 92 | for in &out_vec { [INFO] [stderr] | ^^^^^^ ^^^^^^^^ [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:896 [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("Z:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:927 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("a:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/utils.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | if check_if_path_exist(&path) == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `check_if_path_exist(&path)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:959 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("b:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/utils.rs:27:34 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn check_if_path_exist(path: &String) -> bool{ [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:990 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("c:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1021 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("d:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/utils.rs:34:28 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn check_if_file(path: &String) -> u8{ [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1052 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("e:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1083 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("f:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1114 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("g:")` [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/utils.rs:37:8 [INFO] [stderr] | [INFO] [stderr] 37 | if work_path.is_dir() == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `work_path.is_dir()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/utils.rs:39:15 [INFO] [stderr] | [INFO] [stderr] 39 | } else if work_path.is_file() == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `work_path.is_file()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1145 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("h:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1176 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("i:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/utils.rs:63:8 [INFO] [stderr] | [INFO] [stderr] 63 | if am_root() == true { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `am_root()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1207 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("j:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1238 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("k:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1269 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("l:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1300 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("m:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1331 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("n:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1362 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("o:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1393 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("p:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1424 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("q:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1455 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("r:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1486 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("s:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1517 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("t:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1548 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("u:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1579 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("v:")` [INFO] [stderr] error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false [INFO] [stderr] --> src/utils.rs:156:12 [INFO] [stderr] | [INFO] [stderr] 156 | if index <= 0{ [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::absurd_extreme_comparisons)] on by default [INFO] [stderr] = help: because 0 is the minimum value for this type, the case where the two sides are not equal never occurs, consider using index == 0 instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#absurd_extreme_comparisons [INFO] [stderr] [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1610 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("w:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1641 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("x:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1672 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("y:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:35:1703 [INFO] [stderr] | [INFO] [stderr] 35 | if l.starts_with("/") == true || l.starts_with("\\") == true || l.starts_with("[") == true || l.starts_with("}") || l.starts_with("A:") == true || l.starts_with("B:") == true || l.starts_with("C:") == true || l.starts_with("D:") == true || l.starts_with("E:") == true || l.starts_with("F:") == true || l.starts_with("G:") == true || l.starts_with("H:") == true || l.starts_with("I:") == true || l.starts_with("J:") == true || l.starts_with("K:") == true || l.starts_with("L:") == true || l.starts_with("M:") == true || l.starts_with("N:") == true || l.starts_with("O:") == true || l.starts_with("P:") == true || l.starts_with("Q:") == true || l.starts_with("R:") == true || l.starts_with("S:") == true || l.starts_with("T:") == true || l.starts_with("U:") == true || l.starts_with("V:") == true || l.starts_with("W:") == true || l.starts_with("X:") == true || l.starts_with("Y:") == true || l.starts_with("Z:") == true || l.starts_with("a:") == true || l.starts_with("b:") == true || l.starts_with("c:") == true || l.starts_with("d:") == true || l.starts_with("e:") == true || l.starts_with("f:") == true || l.starts_with("g:") == true || l.starts_with("h:") == true || l.starts_with("i:") == true || l.starts_with("j:") == true || l.starts_with("k:") == true || l.starts_with("l:") == true || l.starts_with("m:") == true || l.starts_with("n:") == true || l.starts_with("o:") == true || l.starts_with("p:") == true || l.starts_with("q:") == true || l.starts_with("r:") == true || l.starts_with("s:") == true || l.starts_with("t:") == true || l.starts_with("u:") == true || l.starts_with("v:") == true || l.starts_with("w:") == true || l.starts_with("x:") == true || l.starts_with("y:") == true || l.starts_with("z:") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("z:")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: this let-binding has unit value. Consider omitting `let element_vec =` [INFO] [stderr] --> src/crawl.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | let element_vec = crawler_parser::crawler_interater(crawler_files, mode, delete_file); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::let_unit_value)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:39:7 [INFO] [stderr] | [INFO] [stderr] 39 | if l.starts_with("name=") == true || l.starts_with("info=") == true || l.starts_with("root=") == true || l.starts_with("delete=") == true || l.starts_with("wdelete=") == true || l.starts_with("find=") == true || l.starts_with("wfind=") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("name=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:39:41 [INFO] [stderr] | [INFO] [stderr] 39 | if l.starts_with("name=") == true || l.starts_with("info=") == true || l.starts_with("root=") == true || l.starts_with("delete=") == true || l.starts_with("wdelete=") == true || l.starts_with("find=") == true || l.starts_with("wfind=") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("info=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:39:75 [INFO] [stderr] | [INFO] [stderr] 39 | if l.starts_with("name=") == true || l.starts_with("info=") == true || l.starts_with("root=") == true || l.starts_with("delete=") == true || l.starts_with("wdelete=") == true || l.starts_with("find=") == true || l.starts_with("wfind=") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("root=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:39:109 [INFO] [stderr] | [INFO] [stderr] 39 | if l.starts_with("name=") == true || l.starts_with("info=") == true || l.starts_with("root=") == true || l.starts_with("delete=") == true || l.starts_with("wdelete=") == true || l.starts_with("find=") == true || l.starts_with("wfind=") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("delete=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:39:145 [INFO] [stderr] | [INFO] [stderr] 39 | if l.starts_with("name=") == true || l.starts_with("info=") == true || l.starts_with("root=") == true || l.starts_with("delete=") == true || l.starts_with("wdelete=") == true || l.starts_with("find=") == true || l.starts_with("wfind=") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("wdelete=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:39:182 [INFO] [stderr] | [INFO] [stderr] 39 | if l.starts_with("name=") == true || l.starts_with("info=") == true || l.starts_with("root=") == true || l.starts_with("delete=") == true || l.starts_with("wdelete=") == true || l.starts_with("find=") == true || l.starts_with("wfind=") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("find=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/conf_parser.rs:39:216 [INFO] [stderr] | [INFO] [stderr] 39 | if l.starts_with("name=") == true || l.starts_with("info=") == true || l.starts_with("root=") == true || l.starts_with("delete=") == true || l.starts_with("wdelete=") == true || l.starts_with("find=") == true || l.starts_with("wfind=") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `l.starts_with("wfind=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: the loop variable `i` is only used to index `work_vec`. [INFO] [stderr] --> src/conf_parser.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 48 | for i in 0..work_vec.len(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stderr] help: consider using an iterator [INFO] [stderr] | [INFO] [stderr] 48 | for in &work_vec{ [INFO] [stderr] | ^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/conf_parser.rs:61:30 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn parse_config(section: &String, mode: u8, config_path: &String) -> Vec{ [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/conf_parser.rs:61:62 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn parse_config(section: &String, mode: u8, config_path: &String) -> Vec{ [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: manual implementation of an assign operation [INFO] [stderr] --> src/conf_parser.rs:70:3 [INFO] [stderr] | [INFO] [stderr] 70 | count = count + 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace it with: `count += 1` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::assign_op_pattern)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stderr] [INFO] [stderr] warning: the loop variable `i` is only used to index `work_vec`. [INFO] [stderr] --> src/conf_parser.rs:82:11 [INFO] [stderr] | [INFO] [stderr] 82 | for i in starting_index..work_vec.len(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stderr] help: consider using an iterator [INFO] [stderr] | [INFO] [stderr] 82 | for in work_vec.iter().skip(starting_index){ [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the loop variable `i` is only used to index `out_vec`. [INFO] [stderr] --> src/conf_parser.rs:92:12 [INFO] [stderr] | [INFO] [stderr] 92 | for i in 0..out_vec.len() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stderr] help: consider using an iterator [INFO] [stderr] | [INFO] [stderr] 92 | for in &out_vec { [INFO] [stderr] | ^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: manual implementation of an assign operation [INFO] [stderr] --> src/users.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | index = index + 7; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `index += 7` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/utils.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | if check_if_path_exist(&path) == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `check_if_path_exist(&path)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: the loop variable `i` is only used to index `user_path`. [INFO] [stderr] --> src/users.rs:64:18 [INFO] [stderr] | [INFO] [stderr] 64 | for i in 0..user_path.len(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/utils.rs:27:34 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn check_if_path_exist(path: &String) -> bool{ [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] help: consider using an iterator [INFO] [stderr] | [INFO] [stderr] 64 | for in &user_path{ [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/utils.rs:34:28 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn check_if_file(path: &String) -> u8{ [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/utils.rs:37:8 [INFO] [stderr] | [INFO] [stderr] 37 | if work_path.is_dir() == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `work_path.is_dir()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/utils.rs:39:15 [INFO] [stderr] | [INFO] [stderr] 39 | } else if work_path.is_file() == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `work_path.is_file()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: manual implementation of an assign operation [INFO] [stderr] --> src/users.rs:86:9 [INFO] [stderr] | [INFO] [stderr] 86 | line_counter = line_counter + 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `line_counter += 1` [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/utils.rs:63:8 [INFO] [stderr] | [INFO] [stderr] 63 | if am_root() == true { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `am_root()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stderr] [INFO] [stderr] warning: manual implementation of an assign operation [INFO] [stderr] --> src/users.rs:93:13 [INFO] [stderr] | [INFO] [stderr] 93 | count = count + 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace it with: `count += 1` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stderr] [INFO] [stderr] warning: this creates an owned instance just for comparison [INFO] [stderr] --> src/crawler_parser.rs:29:28 [INFO] [stderr] | [INFO] [stderr] 29 | if crawler_path != " ".to_string(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: try: `" "` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cmp_owned)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_owned [INFO] [stderr] [INFO] [stderr] warning: the loop variable `i` is only used to index `crawler_files`. [INFO] [stderr] --> src/crawler_parser.rs:35:18 [INFO] [stderr] | [INFO] [stderr] 35 | for i in 0..crawler_files.len(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stderr] help: consider using an iterator [INFO] [stderr] | [INFO] [stderr] 35 | for in &crawler_files{ [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false [INFO] [stderr] --> src/utils.rs:156:12 [INFO] [stderr] | [INFO] [stderr] 156 | if index <= 0{ [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::absurd_extreme_comparisons)] on by default [INFO] [stderr] = help: because 0 is the minimum value for this type, the case where the two sides are not equal never occurs, consider using index == 0 instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#absurd_extreme_comparisons [INFO] [stderr] [INFO] [stderr] warning: the loop variable `i` is only used to index `crawler_files`. [INFO] [stderr] --> src/crawler_parser.rs:43:14 [INFO] [stderr] | [INFO] [stderr] 43 | for i in 0..crawler_files.len(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stderr] help: consider using an iterator [INFO] [stderr] | [INFO] [stderr] 43 | for in &crawler_files{ [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: this let-binding has unit value. Consider omitting `let element_vec =` [INFO] [stderr] --> src/crawl.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | let element_vec = crawler_parser::crawler_interater(crawler_files, mode, delete_file); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::let_unit_value)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/crawler_parser.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | if elements[i].starts_with("name=") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `elements[i].starts_with("name=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/crawler_parser.rs:59:41 [INFO] [stderr] | [INFO] [stderr] 59 | if elements[i] == "root=yes" && utils::am_root() == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `utils::am_root()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/crawler_parser.rs:67:16 [INFO] [stderr] | [INFO] [stderr] 67 | if elements[i].starts_with("find=") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `elements[i].starts_with("find=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/crawler_parser.rs:71:16 [INFO] [stderr] | [INFO] [stderr] 71 | if elements[i].starts_with("delete=") == true && delete_file == 1{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `elements[i].starts_with("delete=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/crawler_parser.rs:77:16 [INFO] [stderr] | [INFO] [stderr] 77 | if elements[i].starts_with("delete_glob=") == true && delete_file == 1{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `elements[i].starts_with("delete_glob=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/crawler_parser.rs:83:16 [INFO] [stderr] | [INFO] [stderr] 83 | if elements[i].starts_with("wfind=") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `elements[i].starts_with("wfind=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: manual implementation of an assign operation [INFO] [stderr] --> src/users.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | index = index + 7; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `index += 7` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/crawler_parser.rs:87:16 [INFO] [stderr] | [INFO] [stderr] 87 | if elements[i].starts_with("wdelete=") == true && delete_file == 1{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `elements[i].starts_with("wdelete=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/crawler_parser.rs:93:16 [INFO] [stderr] | [INFO] [stderr] 93 | if elements[i].starts_with("wdelete_glob=") == true && delete_file == 1{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `elements[i].starts_with("wdelete_glob=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: the loop variable `i` is only used to index `user_path`. [INFO] [stderr] --> src/users.rs:64:18 [INFO] [stderr] | [INFO] [stderr] 64 | for i in 0..user_path.len(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stderr] help: consider using an iterator [INFO] [stderr] | [INFO] [stderr] 64 | for in &user_path{ [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: manual implementation of an assign operation [INFO] [stderr] --> src/users.rs:86:9 [INFO] [stderr] | [INFO] [stderr] 86 | line_counter = line_counter + 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `line_counter += 1` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stderr] [INFO] [stderr] warning: manual implementation of an assign operation [INFO] [stderr] --> src/users.rs:93:13 [INFO] [stderr] | [INFO] [stderr] 93 | count = count + 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace it with: `count += 1` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/main.rs:151:31 [INFO] [stderr] | [INFO] [stderr] 151 | fn all(mode: u8, config_path: &String){ [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] warning: this creates an owned instance just for comparison [INFO] [stderr] --> src/crawler_parser.rs:29:28 [INFO] [stderr] | [INFO] [stderr] 29 | if crawler_path != " ".to_string(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: try: `" "` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cmp_owned)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_owned [INFO] [stderr] [INFO] [stderr] warning: the loop variable `i` is only used to index `crawler_files`. [INFO] [stderr] --> src/crawler_parser.rs:35:18 [INFO] [stderr] | [INFO] [stderr] 35 | for i in 0..crawler_files.len(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stderr] help: consider using an iterator [INFO] [stderr] | [INFO] [stderr] 35 | for in &crawler_files{ [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the loop variable `i` is only used to index `crawler_files`. [INFO] [stderr] --> src/crawler_parser.rs:43:14 [INFO] [stderr] | [INFO] [stderr] 43 | for i in 0..crawler_files.len(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stderr] help: consider using an iterator [INFO] [stderr] | [INFO] [stderr] 43 | for in &crawler_files{ [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/crawler_parser.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | if elements[i].starts_with("name=") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `elements[i].starts_with("name=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/crawler_parser.rs:59:41 [INFO] [stderr] | [INFO] [stderr] 59 | if elements[i] == "root=yes" && utils::am_root() == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `utils::am_root()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/crawler_parser.rs:67:16 [INFO] [stderr] | [INFO] [stderr] 67 | if elements[i].starts_with("find=") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `elements[i].starts_with("find=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/crawler_parser.rs:71:16 [INFO] [stderr] | [INFO] [stderr] 71 | if elements[i].starts_with("delete=") == true && delete_file == 1{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `elements[i].starts_with("delete=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/crawler_parser.rs:77:16 [INFO] [stderr] | [INFO] [stderr] 77 | if elements[i].starts_with("delete_glob=") == true && delete_file == 1{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `elements[i].starts_with("delete_glob=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/crawler_parser.rs:83:16 [INFO] [stderr] | [INFO] [stderr] 83 | if elements[i].starts_with("wfind=") == true{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `elements[i].starts_with("wfind=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/crawler_parser.rs:87:16 [INFO] [stderr] | [INFO] [stderr] 87 | if elements[i].starts_with("wdelete=") == true && delete_file == 1{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `elements[i].starts_with("wdelete=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/crawler_parser.rs:93:16 [INFO] [stderr] | [INFO] [stderr] 93 | if elements[i].starts_with("wdelete_glob=") == true && delete_file == 1{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `elements[i].starts_with("wdelete_glob=")` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `cache_cleaner`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> src/main.rs:151:31 [INFO] [stderr] | [INFO] [stderr] 151 | fn all(mode: u8, config_path: &String){ [INFO] [stderr] | ^^^^^^^ help: change this to: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `cache_cleaner`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3f1c4b8a961f8ade094ccb8091730affea4ddd647fb54a2a214b054792adf3e5"` [INFO] running `"docker" "rm" "-f" "3f1c4b8a961f8ade094ccb8091730affea4ddd647fb54a2a214b054792adf3e5"` [INFO] [stdout] 3f1c4b8a961f8ade094ccb8091730affea4ddd647fb54a2a214b054792adf3e5