mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
fix reachable panic in CLI flag handling
This commit is contained in:
parent
9ee34dc69b
commit
451fb05017
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ pub fn flag(yes: bool, no: bool) -> Option<bool> {
|
|||
(true, false) => Some(true),
|
||||
(false, true) => Some(false),
|
||||
(false, false) => None,
|
||||
(..) => unreachable!("Clap should make this impossible"),
|
||||
(true, true) => None,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue