diff options
Diffstat (limited to 'crates/globset/src/glob.rs')
-rw-r--r-- | crates/globset/src/glob.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/globset/src/glob.rs b/crates/globset/src/glob.rs index 2195f707..1f8009d2 100644 --- a/crates/globset/src/glob.rs +++ b/crates/globset/src/glob.rs @@ -616,6 +616,8 @@ impl<'a> GlobBuilder<'a> { } /// Toggle whether a literal `/` is required to match a path separator. + /// + /// By default this is false: `*` and `?` will match `/`. pub fn literal_separator(&mut self, yes: bool) -> &mut GlobBuilder<'a> { self.opts.literal_separator = yes; self |