diff options
| author | Jakub Wieczorek <jakub@jakub.cc> | 2014-06-06 15:51:42 +0200 |
|---|---|---|
| committer | Jakub Wieczorek <jakub@jakub.cc> | 2014-06-08 13:36:28 +0200 |
| commit | f7d86b2f4ace416a65e84603082c756b8b5dc43e (patch) | |
| tree | 9c47bd9132d7f323bde048e1fe1998c2d5a01692 /src/libglob | |
| parent | 0271224bdae26260ab498f47323997f9edb5879e (diff) | |
| download | rust-f7d86b2f4ace416a65e84603082c756b8b5dc43e.tar.gz rust-f7d86b2f4ace416a65e84603082c756b8b5dc43e.zip | |
Remove the dead code identified by the new lint
Diffstat (limited to 'src/libglob')
| -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, |
