From f5840bdcd360ec0bac2501f333e58e25742b1537 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 27 Jan 2023 10:43:16 -0500 Subject: chore: upgrade to Rust 1.67 (#17548) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bartek IwaƄczuk --- lockfile/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lockfile') 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 = digest .as_ref() .iter() - .map(|byte| format!("{:02x}", byte)) + .map(|byte| format!("{byte:02x}")) .collect(); out.join("") } -- cgit v1.2.3