From a503cb45628acc94b70bbac3dcbbd73878380fe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Harabie=C5=84?= Date: Sun, 5 Aug 2018 03:09:48 +0200 Subject: [PATCH] Fix build on Rust 1.24 --- src/dir.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dir.rs b/src/dir.rs index ed487cf..e28fdff 100644 --- a/src/dir.rs +++ b/src/dir.rs @@ -476,7 +476,7 @@ impl<'a, T: ReadWriteSeek> DirIter<'a, T> { return true; } match raw_entry { - DirEntryData::File(sfn_entry) => self.skip_volume && sfn_entry.is_volume(), + &DirEntryData::File(ref sfn_entry) => self.skip_volume && sfn_entry.is_volume(), _ => false, } }