diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-09-04 14:40:27 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-09-04 14:40:27 +0100 |
| commit | 90c53e2dc859b47615ebaa08199b7460615ce3e4 (patch) | |
| tree | 688eebcc5289ca41e08a1d8c4ec25ee1336e932e /src/bin | |
| parent | 771f944af447c202eba045936a36dee71ab797ac (diff) | |
refactor: use FromStr trait for NostrUrlDecoded
as it should have been used in the first place
Diffstat (limited to 'src/bin')
| -rw-r--r-- | src/bin/git_remote_nostr/list.rs | 0 | ||||
| -rw-r--r-- | src/bin/git_remote_nostr/main.rs | 1 |
2 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/git_remote_nostr/list.rs b/src/bin/git_remote_nostr/list.rs new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/bin/git_remote_nostr/list.rs | |||
diff --git a/src/bin/git_remote_nostr/main.rs b/src/bin/git_remote_nostr/main.rs index 3e08efe..8d67552 100644 --- a/src/bin/git_remote_nostr/main.rs +++ b/src/bin/git_remote_nostr/main.rs | |||
| @@ -10,6 +10,7 @@ use std::{ | |||
| 10 | env, | 10 | env, |
| 11 | io::{self, Stdin}, | 11 | io::{self, Stdin}, |
| 12 | path::{Path, PathBuf}, | 12 | path::{Path, PathBuf}, |
| 13 | str::FromStr, | ||
| 13 | }; | 14 | }; |
| 14 | 15 | ||
| 15 | use anyhow::{anyhow, bail, Context, Result}; | 16 | use anyhow::{anyhow, bail, Context, Result}; |