diff --git a/src/cli/commands/mod.rs b/src/cli/commands/mod.rs index 8ff3c47..d443121 100644 --- a/src/cli/commands/mod.rs +++ b/src/cli/commands/mod.rs @@ -20,7 +20,7 @@ pub mod config; pub mod issue; /// `patch` subcommands pub mod patch; -/// 'reply` command +/// `reply` command pub mod reply; /// `repo` subcommands pub mod repo; diff --git a/src/cli/commands/reply.rs b/src/cli/commands/reply.rs index 17a70f8..b5a7ebe 100644 --- a/src/cli/commands/reply.rs +++ b/src/cli/commands/reply.rs @@ -176,7 +176,7 @@ impl CommandRunner for ReplyArgs { } /// Creates a quoted reply string in the format "On yyyy-mm-dd at hh:mm UTC, -/// wrote:" followed by the event content. Uses display name if +/// {author} wrote:" followed by the event content. Uses display name if /// available, otherwise falls back to a shortened npub string. Dates are /// formatted in UTC. async fn quote_reply_to_content(client: &NostrClient, quoted_event: &Event) -> String { diff --git a/src/cli/types.rs b/src/cli/types.rs index 7e40649..7cecd7b 100644 --- a/src/cli/types.rs +++ b/src/cli/types.rs @@ -177,7 +177,7 @@ impl FromStr for NostrEvent { #[easy_ext::ext(NaddrOrSetVecExt)] impl Vec { /// Converts this vector of [`NaddrOrSet`] into a flat vector of - /// [`Nip19Coordinates`] using the given sets. + /// [`Nip19Coordinate`] using the given sets. pub fn flat_naddrs(self, sets: &[RepoRelaySet]) -> N34Result> { self.into_iter() .map(|n| n.get_naddrs(sets)) @@ -206,7 +206,7 @@ impl Vec { #[easy_ext::ext(OptionNaddrOrSetVecExt)] impl Option> { /// Converts this vector of [`NaddrOrSet`] into a flat vector of - /// [`Nip19Coordinates`] using the given sets. + /// [`Nip19Coordinate`] using the given sets. pub fn flat_naddrs(&self, sets: &[RepoRelaySet]) -> N34Result>> { // Clones self here to simplify command code self.clone()