Skip to content

Commit

Permalink
hide private func
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwdjiang authored and sharkdp committed Feb 13, 2021
1 parent 85fb738 commit b8089f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/output.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit b8089f8

Please sign in to comment.