chore: Fix docs issues

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb
2025-07-05 08:48:34 +00:00
parent 3814d1b4ec
commit 3fb7abe62a
3 changed files with 4 additions and 4 deletions

View File

@@ -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;

View File

@@ -176,7 +176,7 @@ impl CommandRunner for ReplyArgs {
}
/// Creates a quoted reply string in the format "On yyyy-mm-dd at hh:mm UTC,
/// <author> 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 {

View File

@@ -177,7 +177,7 @@ impl FromStr for NostrEvent {
#[easy_ext::ext(NaddrOrSetVecExt)]
impl Vec<NaddrOrSet> {
/// 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<Vec<Nip19Coordinate>> {
self.into_iter()
.map(|n| n.get_naddrs(sets))
@@ -206,7 +206,7 @@ impl Vec<RelayOrSet> {
#[easy_ext::ext(OptionNaddrOrSetVecExt)]
impl Option<Vec<NaddrOrSet>> {
/// 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<Option<Vec<Nip19Coordinate>>> {
// Clones self here to simplify command code
self.clone()