Fix compilation without chromo

This commit is contained in:
Rafał Harabień 2018-05-09 22:58:05 +02:00
parent 429864a69f
commit 73c6e9a461

View File

@ -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<()> {