Skip to content

Commit

Permalink
surf: Fix comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastinez authored and FintanH committed Jun 4, 2024
1 parent 19353fc commit 0dd1383
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions radicle-surf/src/glob.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl<T> Glob<T> {
}

impl Glob<Namespace> {
/// Creates the `Glob` that mathces all `refs/namespaces`.
/// Creates the `Glob` that matches all `refs/namespaces`.
pub fn all_namespaces() -> Self {
Self::namespaces(refspec::pattern!("*"))
}
Expand Down Expand Up @@ -165,7 +165,7 @@ impl Extend<PatternString> for Glob<Tag> {
}

impl Glob<Local> {
/// Creates the `Glob` that mathces all `refs/heads`.
/// Creates the `Glob` that matches all `refs/heads`.
pub fn all_heads() -> Self {
Self::heads(refspec::pattern!("*"))
}
Expand Down Expand Up @@ -239,7 +239,7 @@ impl From<Glob<Local>> for Glob<Branch> {
}

impl Glob<Remote> {
/// Creates the `Glob` that mathces all `refs/remotes`.
/// Creates the `Glob` that matches all `refs/remotes`.
pub fn all_remotes() -> Self {
Self::remotes(refspec::pattern!("*"))
}
Expand Down

0 comments on commit 0dd1383

Please sign in to comment.