Skip to content

Fixed clippy issues for non-WIP code. #11

Fixed clippy issues for non-WIP code.

Fixed clippy issues for non-WIP code. #11

GitHub Actions / Clippy: Rust Stable 1.82.0 (f6e511eec 2024-10-15) in succeeded Oct 25, 2024 in 4s

Clippy (Stable ~ Linux/x86_64)

Clippy was successful!

Details

Running cargo clippy took roughly ~3863ms to complete

  • Working Directory: repository directory

Annotations

Check warning on line 48 in /home/runner/work/bluefile/bluefile/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.82.0 (f6e511eec 2024-10-15) in

/home/runner/work/bluefile/bluefile/src/lib.rs#L48

field `offset` is never read
Raw output
warning: field `offset` is never read
  --> src/bluefile.rs:48:5
   |
45 | pub struct ExtHeaderIter {
   |            ------------- field in this struct
...
48 |     offset: usize,
   |     ^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

Check warning on line 55 in /home/runner/work/bluefile/bluefile/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.82.0 (f6e511eec 2024-10-15) in

/home/runner/work/bluefile/bluefile/src/lib.rs#L55

associated function `new` is never used
Raw output
warning: associated function `new` is never used
  --> src/bluefile.rs:55:8
   |
54 | impl ExtHeaderIter {
   | ------------------ associated function in this implementation
55 |     fn new(file: File, offset: usize, size: usize, endianness: Endianness) -> Result<Self> {
   |        ^^^