mirror of
https://github.com/sharkdp/fd.git
synced 2024-11-17 09:28:25 +01:00
hide private func
This commit is contained in:
parent
85fb7389af
commit
b8089f8d58
1 changed files with 1 additions and 1 deletions
|
@ -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