summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2018-07-29 08:37:24 -0400
committerAndrew Gallant <jamslam@gmail.com>2018-07-29 08:37:24 -0400
commit651a0f1ddfcb3e37647199863d2ce1d1db3c56af (patch)
treea1ad26b45e385c031043584f49c789fe1b67b3c9
parent45473ba48f0561e970596ac979ba5d0bac92242a (diff)
ignore: fix typo
-rw-r--r--ignore/src/gitignore.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ignore/src/gitignore.rs b/ignore/src/gitignore.rs
index d661c848..15827fd2 100644
--- a/ignore/src/gitignore.rs
+++ b/ignore/src/gitignore.rs
@@ -234,7 +234,7 @@ impl Gitignore {
return Match::None;
}
let mut path = self.strip(path.as_ref());
- assert!(!path.has_root(), "path is expect to be under the root");
+ assert!(!path.has_root(), "path is expected to be under the root");
match self.matched_stripped(path, is_dir) {
Match::None => (), // walk up