Skip to content

Commit

Permalink
ref(api): Remove blanket allow(dead_code)
Browse files Browse the repository at this point in the history
Remove the blanket `allow(dead_code)` in `api::data_types::chunking::upload::options`
  • Loading branch information
szokeasaurusrex committed Nov 5, 2024
1 parent de07638 commit fcb7cb1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/api/data_types/chunking/upload/options.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![allow(dead_code)] // `hash_algorithm` is never used

use serde::Deserialize;

use super::{ChunkCompression, ChunkHashAlgorithm, ChunkUploadCapability};
Expand All @@ -16,6 +14,7 @@ pub struct ChunkUploadOptions {
pub max_file_size: u64,
#[serde(default)]
pub max_wait: u64,
#[expect(dead_code)]
pub hash_algorithm: ChunkHashAlgorithm,
pub chunk_size: u64,
pub concurrency: u8,
Expand Down

0 comments on commit fcb7cb1

Please sign in to comment.