Skip to content

Use correct cargo stylus version in docker image #344

Use correct cargo stylus version in docker image

Use correct cargo stylus version in docker image #344

GitHub Actions / clippy succeeded Oct 31, 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.82.0 (f6e511eec 2024-10-15)
  • cargo 1.82.0 (8f40fc59f 2024-08-21)
  • clippy 0.1.82 (f6e511e 2024-10-15)

Annotations

Check warning on line 493 in main/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

match expression looks like `matches!` macro

warning: match expression looks like `matches!` macro
   --> main/src/main.rs:490:5
    |
490 | /     match subcommand {
491 | |         "cargo-stylus-check" | "cargo-stylus-cgen" | "cargo-stylus-replay" => true,
492 | |         _ => false,
493 | |     }
    | |_____^ help: try: `matches!(subcommand, "cargo-stylus-check" | "cargo-stylus-cgen" | "cargo-stylus-replay")`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro
    = note: `#[warn(clippy::match_like_matches_macro)]` on by default