mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-21 04:58:42 +00:00
Apply clippy suggestion
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
a2e6709ed6
commit
9391d22fa2
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ async fn entry(jobserver_client: LazyJobserverClient) -> Result<()> {
|
|||
""
|
||||
};
|
||||
|
||||
if option != "" {
|
||||
if !option.is_empty() {
|
||||
return Err(BinstallError::OverrideOptionUsedWithMultiInstall { option }.into());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue