Radish alpha
r
rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt
Git libraries for Radicle
Radicle
Git
surf: Fix comment typo
Sebastian Martinez committed 1 year ago
commit 0dd1383ed6b957c9a7db50f1776ed28d945a855a
parent 19353fc
1 file changed +3 -3
modified radicle-surf/src/glob.rs
@@ -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!("*"))
    }
@@ -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!("*"))
    }
@@ -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!("*"))
    }