Update crates/oxide/src/lib.rs
Co-authored-by: Jordan Pittman <jordan@cryptica.me>
This commit is contained in:
parent
32762474e0
commit
488f356272
1 changed files with 2 additions and 2 deletions
|
|
@ -229,10 +229,10 @@ impl Scanner {
|
|||
|
||||
expression
|
||||
.into_iter()
|
||||
.filter_map(|expanded_pattern| expanded_pattern.map(|x| x.into()).ok())
|
||||
.filter_map(Result::ok)
|
||||
.map(move |pattern| GlobEntry {
|
||||
base: source.base.clone(),
|
||||
pattern,
|
||||
pattern: pattern.into(),
|
||||
})
|
||||
.collect::<Vec<_>>()
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue