Skip to content

Update actions/upload-artifact action to v4 #52

Update actions/upload-artifact action to v4

Update actions/upload-artifact action to v4 #52

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy succeeded Dec 14, 2023 in 0s

clippy

2 warnings

Details

Results

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

Versions

  • rustc 1.74.1 (a28077b28 2023-12-04)
  • cargo 1.74.1 (ecb9851af 2023-10-18)
  • clippy 0.1.74 (a28077b 2023-12-04)

Annotations

Check warning on line 18 in src/util.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

matching over `()` is more explicit

warning: matching over `()` is more explicit
  --> src/util.rs:18:16
   |
18 |             Ok(_) => Ok(()),
   |                ^ help: use `()` instead of `_`: `()`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ignored_unit_patterns
note: the lint level is defined here
  --> src/main.rs:2:9
   |
2  | #![warn(clippy::pedantic, clippy::cargo)] 
   |         ^^^^^^^^^^^^^^^^
   = note: `#[warn(clippy::ignored_unit_patterns)]` implied by `#[warn(clippy::pedantic)]`

Check warning on line 245 in src/directory.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

redundant guard

warning: redundant guard
   --> src/directory.rs:245:24
    |
245 |             Some(e) if e == "metadata" => (),
    |                        ^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards
    = note: `#[warn(clippy::redundant_guards)]` on by default
help: try
    |
245 -             Some(e) if e == "metadata" => (),
245 +             Some("metadata") => (),
    |