This repository has been archived by the owner on May 5, 2024. It is now read-only.
fix(deps): update rust crate fancy-regex to 0.13 #175
GitHub Actions / clippy
succeeded
May 5, 2024 in 0s
clippy
3 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 3 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.78.0 (9b00956e5 2024-04-29)
- cargo 1.78.0 (54d8815d0 2024-03-26)
- clippy 0.1.78 (9b00956 2024-04-29)
Annotations
Check warning on line 46 in src/handler.rs
github-actions / clippy
this expression borrows a value the compiler would automatically borrow
warning: this expression borrows a value the compiler would automatically borrow
--> src/handler.rs:46:21
|
46 | let msg_s = (&env_config.report_channel)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `env_config.report_channel`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Check warning on line 26 in src/handler.rs
github-actions / clippy
this expression borrows a value the compiler would automatically borrow
warning: this expression borrows a value the compiler would automatically borrow
--> src/handler.rs:26:32
|
26 | let notes: Vec<&str> = (&config.rules)
| ^^^^^^^^^^^^^^^ help: change this to: `config.rules`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Check warning on line 22 in src/handler.rs
github-actions / clippy
this expression borrows a value the compiler would automatically borrow
warning: this expression borrows a value the compiler would automatically borrow
--> src/handler.rs:22:12
|
22 | if (&msg.guild_id).filter(|v| v == &env_config.guild).is_none() {
| ^^^^^^^^^^^^^^^ help: change this to: `msg.guild_id`
|
= 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
Loading