Skip to content

Commit

Permalink
Document discourage usage
Browse files Browse the repository at this point in the history
  • Loading branch information
opilar committed Apr 13, 2017
1 parent d5248cf commit 40f6eff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 40f6eff

Please sign in to comment.