summaryrefslogtreecommitdiffstats
path: root/crates/globset/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/globset/src')
-rw-r--r--crates/globset/src/glob.rs2
-rw-r--r--crates/globset/src/lib.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/crates/globset/src/glob.rs b/crates/globset/src/glob.rs
index 50502b96..d02b8c27 100644
--- a/crates/globset/src/glob.rs
+++ b/crates/globset/src/glob.rs
@@ -367,7 +367,7 @@ impl Glob {
}
}
- /// This is like `ext`, but returns an extension even if it isn't sufficent
+ /// This is like `ext`, but returns an extension even if it isn't sufficient
/// to imply a match. Namely, if an extension is returned, then it is
/// necessary but not sufficient for a match.
fn required_ext(&self) -> Option<String> {
diff --git a/crates/globset/src/lib.rs b/crates/globset/src/lib.rs
index a8c3acc1..29f16720 100644
--- a/crates/globset/src/lib.rs
+++ b/crates/globset/src/lib.rs
@@ -352,7 +352,7 @@ impl GlobSet {
/// Adds the sequence number of every glob pattern that matches the given
/// path to the vec given.
///
- /// `into` is is cleared before matching begins, and contains the set of
+ /// `into` is cleared before matching begins, and contains the set of
/// sequence numbers (in ascending order) after matching ends. If no globs
/// were matched, then `into` will be empty.
pub fn matches_into<P: AsRef<Path>>(
@@ -366,7 +366,7 @@ impl GlobSet {
/// Adds the sequence number of every glob pattern that matches the given
/// path to the vec given.
///
- /// `into` is is cleared before matching begins, and contains the set of
+ /// `into` is cleared before matching begins, and contains the set of
/// sequence numbers (in ascending order) after matching ends. If no globs
/// were matched, then `into` will be empty.
///