diff options
Diffstat (limited to 'src/libglob/lib.rs')
| -rw-r--r-- | src/libglob/lib.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libglob/lib.rs b/src/libglob/lib.rs index f3e1da77ce5..6d39a332ad9 100644 --- a/src/libglob/lib.rs +++ b/src/libglob/lib.rs @@ -44,7 +44,6 @@ use std::string::String; * pattern - see the `glob` function for more details. */ pub struct Paths { - root: Path, dir_patterns: Vec<Pattern>, require_dir: bool, options: MatchOptions, @@ -108,7 +107,6 @@ pub fn glob_with(pattern: &str, options: MatchOptions) -> Paths { // FIXME: How do we want to handle verbatim paths? I'm inclined to return nothing, // since we can't very well find all UNC shares with a 1-letter server name. return Paths { - root: root, dir_patterns: Vec::new(), require_dir: false, options: options, @@ -134,7 +132,6 @@ pub fn glob_with(pattern: &str, options: MatchOptions) -> Paths { } Paths { - root: root, dir_patterns: dir_patterns, require_dir: require_dir, options: options, |
