Skip to content

Commit ae73e7b

Browse files
authored
chore(geth-mikoshi): fix linting (#50)
1 parent 5b8e56d commit ae73e7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

geth-mikoshi/src/constants.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pub const _CHUNK_FILE_SIZE: usize =
55
_aligned_size(CHUNK_SIZE + CHUNK_HEADER_SIZE + CHUNK_FOOTER_SIZE);
66

77
const fn _aligned_size(size: usize) -> usize {
8-
if size % 4_096 == 0 {
8+
if size.is_multiple_of(4_096) {
99
return size;
1010
}
1111

0 commit comments

Comments
 (0)