fix clippy warnings

Signed-off-by: Alex Chi Z <chi@neon.tech>
This commit is contained in:
Alex Chi Z
2025-04-14 15:59:17 -04:00
parent 92af8aeeb3
commit 53aadcefa0
2 changed files with 2 additions and 1 deletions

View File

@@ -45,6 +45,7 @@ fn bench_upload_queue_next_ready(c: &mut Criterion) {
shard: ShardIndex::new(ShardNumber(1), ShardCount(2)),
generation: Generation::Valid(1),
file_size: 0,
encrypted_with_key_version: None,
};
// Construct the (initial and uploaded) index with layer0.

View File

@@ -253,7 +253,7 @@ pub struct LayerFileMetadata {
pub shard: ShardIndex,
#[serde(skip_serializing_if = "Option::is_none", default)]
pub(crate) encrypted_with_key_version: Option<u32>,
pub encrypted_with_key_version: Option<u32>,
}
impl LayerFileMetadata {