Skip to content

Fix chrome in CI

Fix chrome in CI #257

GitHub Actions / clippy succeeded Aug 31, 2024 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (0)
Filtered Findings (3)

src/session.rs|836 col 55| warning: deref which would be done by auto-deref
--> src/session.rs:836:55
|
836 | let body = match serde_json::from_str(&*body)? {
| ^^^^^^ help: try: &body
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
= note: #[warn(clippy::explicit_auto_deref)] on by default
src/key.rs|212 col 9| warning: taken reference of right operand
--> src/key.rs:212:9
|
212 | String::new() + &self + rhs
| ^^^^^^^^^^^^^^^^-----
| |
| help: use the right value directly: self
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref
= note: #[warn(clippy::op_ref)] on by default
src/key.rs|212 col 25| warning: this expression creates a reference which is immediately dereferenced by the compiler
--> src/key.rs:212:25
|
212 | String::new() + &self + rhs
| ^^^^^ help: change this to: self
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: #[warn(clippy::needless_borrow)] on by default