Fix build on Rust 1.24

This commit is contained in:
Rafał Harabień 2018-08-05 03:09:48 +02:00
parent 6f10042784
commit a503cb4562

View File

@ -476,7 +476,7 @@ impl<'a, T: ReadWriteSeek> DirIter<'a, T> {
return true; return true;
} }
match raw_entry { 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, _ => false,
} }
} }