diff options
Diffstat (limited to 'vendor/litemap/benches')
-rw-r--r-- | vendor/litemap/benches/bin/litemap_bincode.rs | 2 | ||||
-rw-r--r-- | vendor/litemap/benches/bin/litemap_postcard.rs | 2 | ||||
-rw-r--r-- | vendor/litemap/benches/litemap.rs | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/vendor/litemap/benches/bin/litemap_bincode.rs b/vendor/litemap/benches/bin/litemap_bincode.rs index 72aa48845..bb17aaba0 100644 --- a/vendor/litemap/benches/bin/litemap_bincode.rs +++ b/vendor/litemap/benches/bin/litemap_bincode.rs @@ -49,7 +49,7 @@ fn generate() { } let buf = bincode::serialize(&map).unwrap(); - println!("{:?}", buf); + println!("{buf:?}"); } #[no_mangle] diff --git a/vendor/litemap/benches/bin/litemap_postcard.rs b/vendor/litemap/benches/bin/litemap_postcard.rs index b3d13d8c8..d7033c21c 100644 --- a/vendor/litemap/benches/bin/litemap_postcard.rs +++ b/vendor/litemap/benches/bin/litemap_postcard.rs @@ -43,7 +43,7 @@ fn generate() { } let buf = postcard::to_stdvec(&map).unwrap(); - println!("{:?}", buf); + println!("{buf:?}"); } #[no_mangle] diff --git a/vendor/litemap/benches/litemap.rs b/vendor/litemap/benches/litemap.rs index 353f03a86..68906037d 100644 --- a/vendor/litemap/benches/litemap.rs +++ b/vendor/litemap/benches/litemap.rs @@ -45,7 +45,7 @@ const POSTCARD: [u8; 176] = [ fn generate() { let map = build_litemap(false); let buf = postcard::to_stdvec(&map).unwrap(); - println!("{:?}", buf); + println!("{buf:?}"); } #[cfg(feature = "generate")] @@ -73,7 +73,7 @@ fn build_litemap(large: bool) -> LiteMap<String, String> { for (key, value) in DATA.into_iter() { if large { for n in 0..8192 { - map.insert(format!("{}{}", key, n), value.to_owned()); + map.insert(format!("{key}{n}"), value.to_owned()); } } else { map.insert(key.to_owned(), value.to_owned()); |