commit using Arc<Query> #204
clippy
6 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 6 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.75.0-nightly (249624b50 2023-10-20)
- cargo 1.75.0-nightly (8eb8acbb1 2023-10-17)
- clippy 0.1.75 (249624b 2023-10-20)
Annotations
Check warning on line 256 in crates/cli/src/args.rs
github-actions / clippy
the borrowed expression implements the required traits
warning: the borrowed expression implements the required traits
--> crates/cli/src/args.rs:256:34
|
256 | serde_json::to_value(&default_struct).expect("Failed to serialize to JSON");
| ^^^^^^^^^^^^^^^ help: change this to: `default_struct`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
Check warning on line 254 in crates/cli/src/args.rs
github-actions / clippy
the borrowed expression implements the required traits
warning: the borrowed expression implements the required traits
--> crates/cli/src/args.rs:254:52
|
254 | let s2_value: Value = serde_json::to_value(&other).expect("Failed to serialize to JSON");
| ^^^^^^ help: change this to: `other`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
Check warning on line 253 in crates/cli/src/args.rs
github-actions / clippy
the borrowed expression implements the required traits
warning: the borrowed expression implements the required traits
--> crates/cli/src/args.rs:253:56
|
253 | let mut s1_value: Value = serde_json::to_value(&self).expect("Failed to serialize to JSON");
| ^^^^^ help: change this to: `self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
Check warning on line 256 in crates/cli/src/args.rs
github-actions / clippy
the borrowed expression implements the required traits
warning: the borrowed expression implements the required traits
--> crates/cli/src/args.rs:256:34
|
256 | serde_json::to_value(&default_struct).expect("Failed to serialize to JSON");
| ^^^^^^^^^^^^^^^ help: change this to: `default_struct`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
Check warning on line 254 in crates/cli/src/args.rs
github-actions / clippy
the borrowed expression implements the required traits
warning: the borrowed expression implements the required traits
--> crates/cli/src/args.rs:254:52
|
254 | let s2_value: Value = serde_json::to_value(&other).expect("Failed to serialize to JSON");
| ^^^^^^ help: change this to: `other`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
Check warning on line 253 in crates/cli/src/args.rs
github-actions / clippy
the borrowed expression implements the required traits
warning: the borrowed expression implements the required traits
--> crates/cli/src/args.rs:253:56
|
253 | let mut s1_value: Value = serde_json::to_value(&self).expect("Failed to serialize to JSON");
| ^^^^^ help: change this to: `self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default