mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Fix clippy errors in cargo v1.73.0 (#1439)
It actually improves the quality of our code! Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
af04e45b5a
commit
ceba74870e
5 changed files with 14 additions and 11 deletions
|
@ -63,8 +63,8 @@ impl RepositoryHost {
|
|||
match repo.domain() {
|
||||
Some(domain) if domain.starts_with("github") => GitHub,
|
||||
Some(domain) if domain.starts_with("gitlab") => GitLab,
|
||||
Some(domain) if domain == "bitbucket.org" => BitBucket,
|
||||
Some(domain) if domain == "sourceforge.net" => SourceForge,
|
||||
Some("bitbucket.org") => BitBucket,
|
||||
Some("sourceforge.net") => SourceForge,
|
||||
_ => Unknown,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue