Skip to content

Commit

Permalink
fix(finder): import std::fs with the regex feature
Browse files Browse the repository at this point in the history
The import was necessary when using the regex feature.
  • Loading branch information
marier-nico authored Jul 30, 2021
1 parent 55e3cf3 commit 7ea0c5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/finder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ use either::Either;
use regex::Regex;
use std::env;
use std::ffi::OsStr;
#[cfg(feature = "regex")]
use std::fs;
use std::iter;
use std::path::{Path, PathBuf};

Expand Down

0 comments on commit 7ea0c5e

Please sign in to comment.