From 537225dff27a5f3917ec8eb5802efbecdbb87423 Mon Sep 17 00:00:00 2001 From: Edward Shen Date: Fri, 28 Jul 2023 00:17:59 -0700 Subject: [PATCH] inline format args --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index de2c474..c0285be 100644 --- a/src/main.rs +++ b/src/main.rs @@ -511,7 +511,7 @@ fn load_config_from_path>(path: P) -> Option { let current_mode = metadata.permissions().mode() & 0o777; if current_mode != 0o600 { warn!( - found = format!("{:o}", current_mode), + found = format!("{current_mode:o}"), expected = "600", "File permissions too broad! Your GLOBAL Cloudflare API key is accessible to all users on the system!" );