hide private func

This commit is contained in:
johnwdjiang 2021-02-03 16:02:24 +08:00 committed by David Peter
parent 85fb7389af
commit b8089f8d58
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}