Skip to content

feat: Add ZIP support (+ EPUB, Office Open XML, Open Document, and OpenXPS) and Collection Data Hash assertion #2256

feat: Add ZIP support (+ EPUB, Office Open XML, Open Document, and OpenXPS) and Collection Data Hash assertion

feat: Add ZIP support (+ EPUB, Office Open XML, Open Document, and OpenXPS) and Collection Data Hash assertion #2256

GitHub Actions / clippy failed Jul 10, 2024 in 0s

clippy

2 errors

Details

Results

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

Versions

  • rustc 1.79.0 (129f3b996 2024-06-10)
  • cargo 1.79.0 (ffa9cf99a 2024-06-03)
  • clippy 0.1.79 (129f3b9 2024-06-10)

Annotations

Check failure on line 277 in sdk/src/assertions/collection_hash.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

variable does not need to be mutable

error: variable does not need to be mutable
   --> sdk/src/assertions/collection_hash.rs:277:13
    |
277 |         let mut stream = Cursor::new(ZIP_SAMPLE1);
    |             ----^^^^^^
    |             |
    |             help: remove this `mut`
    |
    = note: `#[deny(unused_mut)]` implied by `#[deny(warnings)]`

Check failure on line 277 in sdk/src/assertions/collection_hash.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused variable: `stream`

error: unused variable: `stream`
   --> sdk/src/assertions/collection_hash.rs:277:17
    |
277 |         let mut stream = Cursor::new(ZIP_SAMPLE1);
    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream`
    |
note: the lint level is defined here
   --> sdk/src/lib.rs:14:9
    |
14  | #![deny(warnings)]
    |         ^^^^^^^^
    = note: `#[deny(unused_variables)]` implied by `#[deny(warnings)]`