Skip to content
Myr

hide private func

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by johnwdjiang · committed by David Peter · parent 85fb738 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/output.rs+1 added-1 removed
8 unmodified lines
9use crate::exit_codes::ExitCode;10use crate::filesystem::strip_current_dir;11use crate::options::Options;1213pub fn replace_path_separator(path: &str, new_path_separator: &str) -> String {13fn replace_path_separator(path: &str, new_path_separator: &str) -> String {14 path.replace(std::path::MAIN_SEPARATOR, &new_path_separator)15}1617// TODO: this function is performance critical and can probably be optimized
102 unmodified lines