From 7c589f1c6ca2eeb36a961eb9189f1388c5719525 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Mon, 30 Jun 2025 09:46:05 +0100 Subject: [PATCH] fix: spelling in help content reposotoies ~> repositories --- src/cli/commands/mod.rs | 2 +- src/nostr_utils/mod.rs | 2 +- src/nostr_utils/traits.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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() }