diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-02-26 12:55:23 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-02-27 12:03:57 -0800 |
| commit | 843c5e6308920018defe62fd1951c8a5b45553b1 (patch) | |
| tree | 91b45e5bbb711bcfbfbbded88cdd606bf94f2520 /src/libstd/path/windows.rs | |
| parent | 68a92c5ed58e676d6aa224681080f921b9e069a5 (diff) | |
| download | rust-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.rs | 4 |
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); |
