about summary refs log tree commit diff
path: root/src/libstd/path/windows.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-02-26 12:55:23 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-02-27 12:03:57 -0800
commit843c5e6308920018defe62fd1951c8a5b45553b1 (patch)
tree91b45e5bbb711bcfbfbbded88cdd606bf94f2520 /src/libstd/path/windows.rs
parent68a92c5ed58e676d6aa224681080f921b9e069a5 (diff)
downloadrust-843c5e6308920018defe62fd1951c8a5b45553b1.tar.gz
rust-843c5e6308920018defe62fd1951c8a5b45553b1.zip
std: Small cleanup and test improvement
This weeds out a bunch of warnings building stdtest on windows, and it also adds
a check! macro to the io::fs tests to help diagnose errors that are cropping up
on windows platforms as well.

cc #12516
Diffstat (limited to 'src/libstd/path/windows.rs')
-rw-r--r--src/libstd/path/windows.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/path/windows.rs b/src/libstd/path/windows.rs
index 8902ab2edd7..10834aec64c 100644
--- a/src/libstd/path/windows.rs
+++ b/src/libstd/path/windows.rs
@@ -1433,8 +1433,8 @@ mod tests {
         macro_rules! t(
             (s: $path:expr, $join:expr) => (
                 {
-                    let path = ($path);
-                    let join = ($join);
+                    let path = $path;
+                    let join = $join;
                     let mut p1 = Path::new(path);
                     let p2 = p1.clone();
                     p1.push(join);