forked from M-Labs/rust-fatfs
Fix compilation without chromo
This commit is contained in:
parent
429864a69f
commit
73c6e9a461
@ -148,7 +148,6 @@ impl DirFileEntryData {
|
|||||||
#[cfg(not(feature = "chrono"))]
|
#[cfg(not(feature = "chrono"))]
|
||||||
pub(crate) fn reset_created(&mut self) {
|
pub(crate) fn reset_created(&mut self) {
|
||||||
// nop - user controls timestamps manually
|
// nop - user controls timestamps manually
|
||||||
false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(feature = "chrono"))]
|
#[cfg(not(feature = "chrono"))]
|
||||||
@ -160,7 +159,6 @@ impl DirFileEntryData {
|
|||||||
#[cfg(not(feature = "chrono"))]
|
#[cfg(not(feature = "chrono"))]
|
||||||
pub(crate) fn reset_modified(&mut self) {
|
pub(crate) fn reset_modified(&mut self) {
|
||||||
// nop - user controls timestamps manually
|
// nop - user controls timestamps manually
|
||||||
false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn serialize(&self, wrt: &mut Write) -> io::Result<()> {
|
pub(crate) fn serialize(&self, wrt: &mut Write) -> io::Result<()> {
|
||||||
|
Loading…
Reference in New Issue
Block a user