forked from M-Labs/rust-fatfs
Fix build on Rust 1.24
This commit is contained in:
parent
6f10042784
commit
a503cb4562
@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user