Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Fix clippy errors #3544

Fix clippy errors

Fix clippy errors #3544

GitHub Actions / clippy succeeded Mar 30, 2024 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.77.1 (7cf61ebde 2024-03-27)
  • cargo 1.77.1 (e52e36006 2024-03-26)
  • clippy 0.1.77 (7cf61eb 2024-03-27)

Annotations

Check warning on line 49 in src/util/extract.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

field `0` is never read

warning: field `0` is never read
  --> src/util/extract.rs:49:26
   |
49 | pub struct StringExtract(String);
   |            ------------- ^^^^^^
   |            |
   |            field in this struct
   |
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
   |
49 | pub struct StringExtract(());
   |                          ~~

Check warning on line 45 in src/util/extract.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

field `0` is never read

warning: field `0` is never read
  --> src/util/extract.rs:45:22
   |
45 | pub struct Multipart(axum::extract::Multipart);
   |            --------- ^^^^^^^^^^^^^^^^^^^^^^^^
   |            |
   |            field in this struct
   |
   = note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
   |
45 | pub struct Multipart(());
   |                      ~~