Skip to content

Fix cfg attr in lib.rs to allow unused code #380

Fix cfg attr in lib.rs to allow unused code

Fix cfg attr in lib.rs to allow unused code #380

Triggered via pull request May 9, 2024 12:14
Status Failure
Total duration 24s
Artifacts

lint.yml

on: pull_request
cargo fmt --check
14s
cargo fmt --check
cargo clippy
15s
cargo clippy
Fit to window
Zoom out
Zoom in

Annotations

9 errors
cargo clippy: src/codec/gzip/decoder.rs#L86
unnecessary parentheses around `if` condition
cargo clippy: src/codec/zstd/encoder.rs#L2
unused import: `CParameter`
cargo clippy: src/codec/brotli/decoder.rs#L28
variable does not need to be mutable
cargo clippy: src/codec/brotli/encoder.rs#L28
variable does not need to be mutable
cargo clippy: src/codec/zstd/decoder.rs#L20
variable does not need to be mutable
cargo clippy: src/codec/zstd/encoder.rs#L29
variable does not need to be mutable
cargo clippy: src/codec/gzip/header.rs#L6
field `ascii` is never read
cargo clippy: src/util.rs#L27
method `get_mut` is never used
cargo clippy
Process completed with exit code 101.