]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
geoip: Fix Rust clippy warning
authorDavid Goulet <dgoulet@torproject.org>
Tue, 1 Jul 2025 12:19:36 +0000 (08:19 -0400)
committerDavid Goulet <dgoulet@torproject.org>
Tue, 1 Jul 2025 12:19:36 +0000 (08:19 -0400)
Signed-off-by: David Goulet <dgoulet@torproject.org>
scripts/maint/geoip/geoip-db-tool/src/main.rs

index cbadd6623fe699c62ff8522cca24ddcbbdfd69c4..169e9dd5ced95f8095e377b7ae2b26090c43014f 100644 (file)
@@ -176,7 +176,7 @@ fn convert(args: Args) -> std::io::Result<()> {
     for nb in blocks {
         n += 1;
         if n % 100000 == 0 {
-            println!("{}/{}", n, num_blocks);
+            println!("{n}/{num_blocks}");
         }
         let start = nb.net.network();
         let end = nb.net.broadcast();