diff options
author | Andrew Gallant <jamslam@gmail.com> | 2016-09-25 21:48:01 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2016-09-25 21:48:01 -0400 |
commit | 19e405e5c5681496d2ff90727d4043b01129f920 (patch) | |
tree | bc609f10b4f423c202007e9bcf92836beffaa2b3 | |
parent | f85822266ff8121cc2f7a64ea5428c673bd69de2 (diff) |
fix windows
-rw-r--r-- | src/printer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printer.rs b/src/printer.rs index 07b6e31c..84a72fba 100644 --- a/src/printer.rs +++ b/src/printer.rs @@ -308,7 +308,7 @@ impl<W: Terminal + Send> Printer<W> { } #[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()); } |