From 1bc7d93f4c276af7fa2565190e096fb1e46b3dba Mon Sep 17 00:00:00 2001 From: John Mumm Date: Mon, 17 Feb 2025 16:57:51 +0100 Subject: [PATCH] Fix macro typo (#11578) This typo wasn't caught because the `($arg:expr, false)` macro branch was never exercised. For example, prior to this change, if you add ``` show_settings!(globals, false); ``` below, you'll get a compiler error. --- crates/uv/src/lib.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/crates/uv/src/lib.rs b/crates/uv/src/lib.rs index 2cdb7df14..d26b4ad3a 100644 --- a/crates/uv/src/lib.rs +++ b/crates/uv/src/lib.rs @@ -1405,11 +1405,6 @@ async fn run_project( return Ok(ExitStatus::Success); } }; - ($arg:expr, false) => { - if globals.show_settings {# - writeln!(printer.stdout(), "{:#?}", $arg)?; - } - }; } match *project_command {