mirror of
https://github.com/openharmony/third_party_rust_which-rs.git
synced 2026-07-01 21:14:07 -04:00
Merge pull request #42 from marier-nico/patch-1
Import std::fs with the regex feature
This commit is contained in:
@@ -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};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user