Skip to content

Commit bf39acd

Browse files
Update crates/oxide/src/lib.rs
Co-authored-by: Jordan Pittman <jordan@cryptica.me>
1 parent d600964 commit bf39acd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/oxide/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,10 +229,10 @@ impl Scanner {
229229

230230
expression
231231
.into_iter()
232-
.filter_map(|expanded_pattern| expanded_pattern.map(|x| x.into()).ok())
232+
.filter_map(Result::ok)
233233
.map(move |pattern| GlobEntry {
234234
base: source.base.clone(),
235-
pattern,
235+
pattern: pattern.into(),
236236
})
237237
.collect::<Vec<_>>()
238238
})

0 commit comments

Comments
 (0)