mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-05-19 09:40:22 -07:00
fix windows
This commit is contained in:
parent
f85822266f
commit
19e405e5c5
@ -308,7 +308,7 @@ impl<W: Terminal + Send> Printer<W> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(unix))]
|
#[cfg(not(unix))]
|
||||||
fn write_path<P: AsRef<Path>>(&mut self, p: P) {
|
fn write_path<P: AsRef<Path>>(&mut self, path: P) {
|
||||||
self.write(path.as_ref().to_string_lossy().as_bytes());
|
self.write(path.as_ref().to_string_lossy().as_bytes());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user