Rustfmt #160
clippy
6 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 6 |
Note | 0 |
Help | 0 |
Versions
-
rustc 1.83.0 (90b35a623 2024-11-26)
-
cargo 1.83.0 (5ffbef321 2024-10-29)
-
clippy 0.1.83 (90b35a6 2024-11-26)
Annotations
Check warning on line 248 in src/wavereader.rs
github-actions / clippy
empty line after doc comment
warning: empty line after doc comment
--> src/wavereader.rs:247:5
|
247 | / /// essential components that make interpreting the audio data impossible.
248 | |
| |_
...
267 | pub fn new(inner: R) -> Result<Self, ParserError> {
| ------------------------------------------------- the comment documents this associated function
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
= note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default
= help: if the empty line is unintentional remove it
help: if the documentation should include the empty line include it in the comment
|
248 | ///
|
Check warning on line 12 in src/fmt.rs
github-actions / clippy
empty line after outer attribute
warning: empty line after outer attribute
--> src/fmt.rs:11:1
|
11 | / #[allow(dead_code)]
12 | |
| |_
...
24 | pub struct ADMAudioID {
| --------------------- the attribute applies to this struct
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_outer_attr
= note: `#[warn(clippy::empty_line_after_outer_attr)]` on by default
= help: if the empty line is unintentional remove it
Check warning on line 432 in src/fmt.rs
github-actions / clippy
trait `WriteWavAudioData` is never used
warning: trait `WriteWavAudioData` is never used
--> src/fmt.rs:432:7
|
432 | trait WriteWavAudioData {
| ^^^^^^^^^^^^^^^^^
Check warning on line 31 in src/parser.rs
github-actions / clippy
fields `file_size` and `long_sizes` are never read
warning: fields `file_size` and `long_sizes` are never read
--> src/parser.rs:31:9
|
30 | ReadDS64 {
| -------- fields in this variant
31 | file_size: u64,
| ^^^^^^^^^
32 | long_sizes: HashMap<FourCC, u64>,
| ^^^^^^^^^^
|
= note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
Check warning on line 28 in src/parser.rs
github-actions / clippy
field `signature` is never read
warning: field `signature` is never read
--> src/parser.rs:28:9
|
27 | ReadRF64Header {
| -------------- field in this variant
28 | signature: FourCC,
| ^^^^^^^^^
|
= note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
Check warning on line 24 in src/parser.rs
github-actions / clippy
fields `signature` and `length_field` are never read
warning: fields `signature` and `length_field` are never read
--> src/parser.rs:24:9
|
23 | ReadHeader {
| ---------- fields in this variant
24 | signature: FourCC,
| ^^^^^^^^^
25 | length_field: u32,
| ^^^^^^^^^^^^
|
= note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default