diff options
Diffstat (limited to 'lockfile/lib.rs')
-rw-r--r-- | lockfile/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lockfile/lib.rs b/lockfile/lib.rs index eb1009e8a..ec91def15 100644 --- a/lockfile/lib.rs +++ b/lockfile/lib.rs @@ -32,7 +32,7 @@ fn gen_checksum(v: &[impl AsRef<[u8]>]) -> String { let out: Vec<String> = digest .as_ref() .iter() - .map(|byte| format!("{:02x}", byte)) + .map(|byte| format!("{byte:02x}")) .collect(); out.join("") } |