diff --git a/src/output.rs b/src/output.rs index 7f4c5e0..008f3a9 100644 --- a/src/output.rs +++ b/src/output.rs @@ -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) }