mirror of
https://github.com/sharkdp/fd
synced 2024-10-02 22:13:31 +00:00
hide private func
This commit is contained in:
parent
85fb7389af
commit
b8089f8d58
|
@ -10,7 +10,7 @@ use crate::exit_codes::ExitCode;
|
|||
use crate::filesystem::strip_current_dir;
|
||||
use crate::options::Options;
|
||||
|
||||
pub fn replace_path_separator(path: &str, new_path_separator: &str) -> String {
|
||||
fn replace_path_separator(path: &str, new_path_separator: &str) -> String {
|
||||
path.replace(std::path::MAIN_SEPARATOR, &new_path_separator)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue