From fcb7cb1d833fe0250d47a4908d894185a8105115 Mon Sep 17 00:00:00 2001 From: Daniel Szoke Date: Tue, 5 Nov 2024 15:26:49 +0100 Subject: [PATCH] ref(api): Remove blanket `allow(dead_code)` Remove the blanket `allow(dead_code)` in `api::data_types::chunking::upload::options` --- src/api/data_types/chunking/upload/options.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/api/data_types/chunking/upload/options.rs b/src/api/data_types/chunking/upload/options.rs index 22d45a0f7f..47f509d849 100644 --- a/src/api/data_types/chunking/upload/options.rs +++ b/src/api/data_types/chunking/upload/options.rs @@ -1,5 +1,3 @@ -#![allow(dead_code)] // `hash_algorithm` is never used - use serde::Deserialize; use super::{ChunkCompression, ChunkHashAlgorithm, ChunkUploadCapability}; @@ -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,