Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump DeterminateSystems/nix-installer-action from 14 to 16 in the actions group across 1 directory #296

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

build(deps): bump DeterminateSystems/nix-installer-action

d2976da
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

build(deps): bump DeterminateSystems/nix-installer-action from 14 to 16 in the actions group across 1 directory #296

build(deps): bump DeterminateSystems/nix-installer-action
d2976da
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Nov 15, 2024 in 0s

clippy

1 warning

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 1
Note 0
Help 0

Versions

  • rustc 1.83.0-beta.5 (eb6e3fa1a 2024-11-08)
  • cargo 1.83.0-beta.5 (5ffbef321 2024-10-29)
  • clippy 0.1.83 (eb6e3fa 2024-11-08)

Annotations

Check warning on line 603 in challenges/src/endpoints/coding_challenges/submissions.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this boolean expression can be simplified

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)
    |