surf: Fix comment typo

This commit is contained in:
Sebastian Martinez
2024-06-04 11:24:11 +02:00
committed by Fintan Halpenny
parent 19353fc700
commit 0dd1383ed6
+3 -3
View File
@@ -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!("*"))
}