From d0ab739f30fca2fa0e0b5647a1642d7f64a2c3d4 Mon Sep 17 00:00:00 2001 From: FredApps Date: Thu, 12 Nov 2026 19:35:17 +0100 Subject: [PATCH] style: wrap the dropped-OPENSSL_ia32cap log line for rustfmt --- apps/pdfcraft/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/pdfcraft/src/main.rs b/apps/pdfcraft/src/main.rs index eae60cc41f..032b8d3fbf 100644 --- a/apps/pdfcraft/src/main.rs +++ b/apps/pdfcraft/src/main.rs @@ -214,7 +214,8 @@ fn main() -> eframe::Result { // First, so the panic hook and every start-up warning are recorded (`logging`). let logger = logging::install(); if let Some(value) = pdfcraft_platform::crypto_env::dropped() { - log::warn!("{} was set to {value}; PdfCraft started again without it (aws-lc stops on a CPU feature the processor lacks)", pdfcraft_platform::crypto_env::IA32CAP); + let name = pdfcraft_platform::crypto_env::IA32CAP; + log::warn!("{name} was set to {value}; PdfCraft started again without it (aws-lc stops on a CPU feature the processor lacks)"); } // Last-resort guard (AGENTS.md ยง4): commands, edits, opens and saves catch panics and report // them; this hook logs every panic, caught or not, with a backtrace when RUST_BACKTRACE is set.