mirror of
https://github.com/encounter/objdiff.git
synced 2025-07-01 19:03:45 +00:00
Short circuit ambiguous matches
This commit is contained in:
parent
0ed49533d9
commit
5fd74583fa
@ -94,6 +94,9 @@ pub fn run(args: Args) -> Result<()> {
|
||||
{
|
||||
idx = Some(i);
|
||||
count += 1;
|
||||
if count > 1 {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
match (count, idx) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user