Skip to content

Commit 4036348

Browse files
committed
clippy
1 parent 58fbaea commit 4036348

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/blob_tree/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,7 @@ impl AbstractTree for BlobTree {
292292
}
293293
last_key = Some(key.clone());
294294

295-
// NOTE: Values are 32-bit max
296-
#[allow(clippy::cast_possible_truncation)]
295+
#[expect(clippy::cast_possible_truncation, reason = "values are 32-bit max")]
297296
let value_size = value.len() as u32;
298297

299298
if value_size >= separation_threshold {

0 commit comments

Comments
 (0)