From 40f6eff7c91d134fa347e05de499049802050097 Mon Sep 17 00:00:00 2001 From: opilar Date: Thu, 13 Apr 2017 21:13:50 +0300 Subject: [PATCH] Document discourage usage --- src/gz.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gz.rs b/src/gz.rs index e6665d1fc..de4936c36 100644 --- a/src/gz.rs +++ b/src/gz.rs @@ -848,8 +848,8 @@ impl Header { /// rather than Universal time.) If the compressed data did not come from a file, /// `mtime` is set to the time at which compression started. /// `mtime` = 0 means no time stamp is available. - #[deprecated(since = "0.2.20", - note="The usage of `mtime` is discouraged because of Year 2038 problem.")] + /// + /// The usage of `mtime` is discouraged because of Year 2038 problem. pub fn mtime(&self) -> u32 { self.mtime }