about summary refs log tree commit diff
path: root/src/libstd/sys/windows
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-01-07 18:53:58 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-01-07 19:27:27 -0800
commit0dc48b47a8c67eb28e7b89a6c0810dc9446377f7 (patch)
tree6ecc7fd6e3031c1d57e85dd6612489903a595b71 /src/libstd/sys/windows
parent11e265c2e0af99a81caf888fc39cc903dc74f1cd (diff)
downloadrust-0dc48b47a8c67eb28e7b89a6c0810dc9446377f7.tar.gz
rust-0dc48b47a8c67eb28e7b89a6c0810dc9446377f7.zip
Test fixes and rebase conflicts
Diffstat (limited to 'src/libstd/sys/windows')
-rw-r--r--src/libstd/sys/windows/fs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/windows/fs.rs b/src/libstd/sys/windows/fs.rs
index f8c75335b35..a7330f7c67c 100644
--- a/src/libstd/sys/windows/fs.rs
+++ b/src/libstd/sys/windows/fs.rs
@@ -270,7 +270,7 @@ pub fn readdir(p: &Path) -> IoResult<Vec<Path>> {
                             return Err(IoError {
                                 kind: io::InvalidInput,
                                 desc: "path was not valid UTF-16",
-                                detail: Some(format!("path was not valid UTF-16: {}", filename)),
+                                detail: Some(format!("path was not valid UTF-16: {:?}", filename)),
                             })
                         }, // FIXME #12056: Convert the UCS-2 to invalid utf-8 instead of erroring
                     }