Skip to content

Commit 597d937

Browse files
committed
Fix linter issues
1 parent 94d77e7 commit 597d937

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/pet-python-utils/src/fs_cache.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ fn generate_hash(executable: &PathBuf) -> String {
115115
let h_bytes = hasher.finalize();
116116
// Convert 256 bits => Hext and then take 16 of the hex chars (that should be unique enough)
117117
// We will handle collisions if they happen.
118-
format!("{:x}", h_bytes)[..16].to_string()
118+
format!("{h_bytes:x}")[..16].to_string()
119119
}
120120

121121
#[cfg(test)]

0 commit comments

Comments
 (0)