about summary refs log tree commit diff
path: root/src/libstd/sys/windows
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-07-06 09:29:15 -0700
committerAlex Crichton <alex@alexcrichton.com>2016-07-06 09:29:15 -0700
commit0c137ab0a64b27e9bc0dc68d35ba6f5f60536a97 (patch)
treeb9f55cb777226ac455c4c76bb62870e85ef6fe03 /src/libstd/sys/windows
parentec58d0c9976c18c405a59d26252a1fa7a3e2a742 (diff)
downloadrust-0c137ab0a64b27e9bc0dc68d35ba6f5f60536a97.tar.gz
rust-0c137ab0a64b27e9bc0dc68d35ba6f5f60536a97.zip
rustc: Update stage0 to beta-2016-07-06
Hot off the presses, let's update our stage0 compiler!
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 c243e890526..38a17caa2f6 100644
--- a/src/libstd/sys/windows/fs.rs
+++ b/src/libstd/sys/windows/fs.rs
@@ -117,7 +117,7 @@ impl Drop for FindNextFileHandle {
 
 impl DirEntry {
     fn new(root: &Arc<PathBuf>, wfd: &c::WIN32_FIND_DATAW) -> Option<DirEntry> {
-        match ::slice_pat(&&wfd.cFileName[0..3]) {
+        match &wfd.cFileName[0..3] {
             // check for '.' and '..'
             &[46, 0, ..] |
             &[46, 46, 0, ..] => return None,