From f733e9ebe4a3c2a1aeedcbb0471423131885c8a5 Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Sat, 24 Sep 2016 19:43:01 -0400 Subject: [PATCH] Fix typo. Thanks @dmit! --- src/gitignore.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gitignore.rs b/src/gitignore.rs index a47fdd9c..d5aa9177 100644 --- a/src/gitignore.rs +++ b/src/gitignore.rs @@ -330,7 +330,7 @@ impl GitignoreBuilder { if has_slash { opts.require_literal_separator = true; } - // If there was no leading slash, then this is a pattern that must + // If there was a leading slash, then this is a pattern that must // match the entire path name. Otherwise, we should let it match // anywhere, so use a **/ prefix. if !is_absolute {