Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Dec 15, 2023
1 parent eb6ffa8 commit 04b5c64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/primitives/src/compression/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ thread_local! {

/// Thread receipt compressor.
pub static RECEIPT_COMPRESSOR: RefCell<Compressor<'static>> = RefCell::new(
Compressor::with_dictionary(0, &RECEIPT_DICTIONARY)
Compressor::with_dictionary(0, RECEIPT_DICTIONARY)
.expect("Failed to initialize compressor."),
);

/// Thread receipt decompressor.
pub static RECEIPT_DECOMPRESSOR: RefCell<Decompressor<'static>> = RefCell::new(
Decompressor::with_dictionary(&RECEIPT_DICTIONARY)
Decompressor::with_dictionary(RECEIPT_DICTIONARY)
.expect("Failed to initialize decompressor."),
);
}

0 comments on commit 04b5c64

Please sign in to comment.