diff --git a/src/cli/commands/mod.rs b/src/cli/commands/mod.rs index 9018994..8ff3c47 100644 --- a/src/cli/commands/mod.rs +++ b/src/cli/commands/mod.rs @@ -78,7 +78,7 @@ pub struct CliOptions { /// N34 commands #[derive(Parser, Debug)] pub enum Commands { - /// Manage reposotoies and relays sets + /// Manage repositories and relays sets Sets { #[command(subcommand)] subcommands: SetsSubcommands, diff --git a/src/nostr_utils/mod.rs b/src/nostr_utils/mod.rs index a5308cb..72af2e3 100644 --- a/src/nostr_utils/mod.rs +++ b/src/nostr_utils/mod.rs @@ -216,7 +216,7 @@ impl NostrClient { .to_vec()) } - /// Try to fetch the reposotoies and returns them + /// Try to fetch the repositories and returns them pub async fn fetch_repos( &self, repo_naddrs: &[Coordinate], diff --git a/src/nostr_utils/traits.rs b/src/nostr_utils/traits.rs index a0cb517..20bb825 100644 --- a/src/nostr_utils/traits.rs +++ b/src/nostr_utils/traits.rs @@ -207,7 +207,7 @@ impl Vec { /// Utility functions for working with lists of repository announcement #[easy_ext::ext(ReposUtils)] impl Vec { - /// Extracts all relay URLs from these reposotoies + /// Extracts all relay URLs from these repositories pub fn extract_relays(&self) -> Vec { self.iter().flat_map(|n| n.relays.clone()).collect() }