This repository has been archived by the owner on May 5, 2024. It is now read-only.
fix(deps): update rust crate tokio to 1.37.0 #174
docker.yml
on: push
Build Docker image, and Publish on main branch
31s
Annotations
1 error and 3 warnings
Build Docker image, and Publish on main branch
buildx failed with: ERROR: failed to solve: process "/bin/sh -c cargo install cargo-chef" did not complete successfully: exit code: 101
|
this expression borrows a value the compiler would automatically borrow:
src/handler.rs#L46
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
|
this expression borrows a value the compiler would automatically borrow:
src/handler.rs#L26
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
|
this expression borrows a value the compiler would automatically borrow:
src/handler.rs#L22
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
|