Skip to content

Commit

Permalink
chore: remove EncoderParams Copy derive
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Aug 29, 2023
1 parent 6150080 commit ee2acc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/brotli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use brotli::enc::backward_references::{BrotliEncoderMode, BrotliEncoderParams};
///
/// See the [Brotli documentation](https://www.brotli.org/encode.html#a9a8) for more information on
/// these parameters.
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct EncoderParams {

Check failure on line 11 in src/brotli.rs

View workflow job for this annotation

GitHub Actions / cargo test

type could implement `Copy`; consider adding `impl Copy`

Check failure on line 11 in src/brotli.rs

View workflow job for this annotation

GitHub Actions / codecov

type could implement `Copy`; consider adding `impl Copy`

Check failure on line 11 in src/brotli.rs

View workflow job for this annotation

GitHub Actions / cargo test --shallow-minimal-versions

type could implement `Copy`; consider adding `impl Copy`

Check failure on line 11 in src/brotli.rs

View workflow job for this annotation

GitHub Actions / cargo clippy

type could implement `Copy`; consider adding `impl Copy`

Check failure on line 11 in src/brotli.rs

View workflow job for this annotation

GitHub Actions / cargo test (stable, i686-unknown-linux-gnu, ubuntu-latest)

type could implement `Copy`; consider adding `impl Copy`

Check failure on line 11 in src/brotli.rs

View workflow job for this annotation

GitHub Actions / cargo test (stable, x86_64-unknown-linux-gnu, ubuntu-latest)

type could implement `Copy`; consider adding `impl Copy`
window_size: i32,
block_size: i32,
Expand Down

0 comments on commit ee2acc1

Please sign in to comment.