fix windows build

This commit is contained in:
Stephan Dilly 2021-12-08 22:24:46 +01:00
parent a947ce35e7
commit eddc703fb8

View File

@ -43,7 +43,7 @@ pub struct FileBlame {
fn fixup_windows_path(path: &str) -> String {
#[cfg(windows)]
{
path.replace("\\", "/")
path.replace('\\', "/")
}
#[cfg(not(windows))]