mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 10:58:28 +00:00
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.
This commit is contained in:
parent
90e9287dd8
commit
1bc7d93f4c
1 changed files with 0 additions and 5 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue