build: use explicitly generated Cargo.nix instead of ifd #688
check.yml
on: pull_request
fmt (stable)
6s
cargo-nix
52s
Matrix: clippy
Annotations
6 warnings
this boolean expression can be simplified:
challenges/src/endpoints/coding_challenges/submissions.rs#L600
warning: this boolean expression can be simplified
--> challenges/src/endpoints/coding_challenges/submissions.rs:600:12
|
600 | if !self
| ____________^
601 | | .ids
602 | | .get(&key)
603 | | .is_some_and(|&x| self.id_position(x) == 0)
| |_______________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool
= note: `#[warn(clippy::nonminimal_bool)]` on by default
help: try
|
600 ~ if self
601 + .ids
602 + .get(&key).is_none_or(|&x| self.id_position(x) != 0)
|
|
clippy (stable)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
clippy (stable)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
clippy (beta)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
clippy (beta)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
this boolean expression can be simplified:
challenges/src/endpoints/coding_challenges/submissions.rs#L600
warning: this boolean expression can be simplified
--> challenges/src/endpoints/coding_challenges/submissions.rs:600:12
|
600 | if !self
| ____________^
601 | | .ids
602 | | .get(&key)
603 | | .is_some_and(|&x| self.id_position(x) == 0)
| |_______________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool
= note: `#[warn(clippy::nonminimal_bool)]` on by default
help: try
|
600 ~ if self
601 + .ids
602 + .get(&key).is_none_or(|&x| self.id_position(x) != 0)
|
|