mirror of
https://github.com/pesde-pkg/pesde.git
synced 2025-04-10 22:00:55 +01:00
style: apply rustfmt
This commit is contained in:
parent
9f93cb93d6
commit
d68a1389ab
1 changed files with 2 additions and 2 deletions
|
@ -75,13 +75,13 @@ fn compare_repo_urls(this: &gix::Url, external: &gix::Url) -> bool {
|
||||||
} else {
|
} else {
|
||||||
&this
|
&this
|
||||||
};
|
};
|
||||||
|
|
||||||
let external = if external.ends_with(".git") {
|
let external = if external.ends_with(".git") {
|
||||||
&external[..external.len() - 4]
|
&external[..external.len() - 4]
|
||||||
} else {
|
} else {
|
||||||
&external
|
&external
|
||||||
};
|
};
|
||||||
|
|
||||||
this == external
|
this == external
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue