We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94d77e7 commit 597d937Copy full SHA for 597d937
crates/pet-python-utils/src/fs_cache.rs
@@ -115,7 +115,7 @@ fn generate_hash(executable: &PathBuf) -> String {
115
let h_bytes = hasher.finalize();
116
// Convert 256 bits => Hext and then take 16 of the hex chars (that should be unique enough)
117
// We will handle collisions if they happen.
118
- format!("{:x}", h_bytes)[..16].to_string()
+ format!("{h_bytes:x}")[..16].to_string()
119
}
120
121
#[cfg(test)]
0 commit comments