Skip to content

Commit

Permalink
Remove a map
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuichiueda committed Dec 9, 2024
1 parent d145e2b commit 06a1935
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/utils/directory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ pub fn glob(dir: &str, pattern: &str) -> Vec<String> {

let pat = glob::parse(pattern);
files(dir).iter()
.map(|f| f.clone())
.filter(|f| glob::compare(f, &pat) )
.map(|f| make_path(&f) )
.collect()
Expand Down

0 comments on commit 06a1935

Please sign in to comment.