mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-15 15:16:37 +00:00
Fix args::parse
: Do not free disabled_strategies
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
1801932e50
commit
aacc9e3dca
1 changed files with 0 additions and 3 deletions
|
@ -588,9 +588,6 @@ You cannot use --{option} and specify multiple packages at the same time. Do one
|
|||
.error(ErrorKind::TooFewValues, "You have disabled all strategies")
|
||||
.exit()
|
||||
}
|
||||
|
||||
// Free disable_strategies as it will not be used again.
|
||||
opts.disable_strategies = Vec::new();
|
||||
}
|
||||
|
||||
// Ensure that Strategy::Compile is specified as the last strategy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue