From 651a0f1ddfcb3e37647199863d2ce1d1db3c56af Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Sun, 29 Jul 2018 08:37:24 -0400 Subject: [PATCH] ignore: fix typo --- ignore/src/gitignore.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ignore/src/gitignore.rs b/ignore/src/gitignore.rs index d661c84..15827fd 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