diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-05-02 14:37:14 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-05-05 21:30:59 +0100 |
| commit | a744f4aae9ffee9dd246090bef486b09433778d0 (patch) | |
| tree | 5d1083668ec989d1fc8529a7ece60dc2bd4ec594 /src/lib/git | |
| parent | 0f3969325385f2707e359cb28d9c49c509310452 (diff) | |
chore: nix flake update
update nix dependancies to latest version using default update options
run `cargo clippy --fix` and `cargo fmt` to fix new clippy errors
Diffstat (limited to 'src/lib/git')
| -rw-r--r-- | src/lib/git/nostr_url.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/git/nostr_url.rs b/src/lib/git/nostr_url.rs index 54be292..fe58962 100644 --- a/src/lib/git/nostr_url.rs +++ b/src/lib/git/nostr_url.rs | |||
| @@ -327,7 +327,7 @@ impl FromStr for CloneUrl { | |||
| 327 | if s.contains('@') && s | 327 | if s.contains('@') && s |
| 328 | .split('@') | 328 | .split('@') |
| 329 | .nth(0) | 329 | .nth(0) |
| 330 | .map_or(false, |part| !part.contains('/')) { | 330 | .is_some_and(|part| !part.contains('/')) { |
| 331 | "ssh" | 331 | "ssh" |
| 332 | } | 332 | } |
| 333 | // otherwise assume unspecified | 333 | // otherwise assume unspecified |