Skip to content

Commit

Permalink
fix: remove allow(unused)
Browse files Browse the repository at this point in the history
  • Loading branch information
rymnc committed Jan 15, 2025
1 parent 9e19ab5 commit 85d277f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion crates/compression/src/compressed_block_payload/v0.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ impl VersionedBlockPayload for CompressedBlockPayloadV0 {

impl CompressedBlockPayloadV0 {
/// Create a new compressed block payload V0.
#[allow(unused)]
pub(crate) fn new(
header: &BlockHeader,
registrations: RegistrationsPerTable,
Expand Down
1 change: 0 additions & 1 deletion crates/compression/src/compressed_block_payload/v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ impl VersionedBlockPayload for CompressedBlockPayloadV1 {

impl CompressedBlockPayloadV1 {
/// Create a new compressed block payload V1.
#[allow(unused)]
pub(crate) fn new(
header: &BlockHeader,
registrations: RegistrationsPerTable,
Expand Down
1 change: 1 addition & 0 deletions crates/compression/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ pub enum VersionedCompressedBlock {
}

impl VersionedCompressedBlock {
#[allow(unused)]
fn new_v0(
header: &BlockHeader,
registrations: RegistrationsPerTable,
Expand Down

0 comments on commit 85d277f

Please sign in to comment.