aboutsummaryrefslogtreecommitdiff
path: root/src/datetime.rs
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2019-12-22 09:46:36 -0800
committerGitHub <noreply@github.com>2019-12-22 09:46:36 -0800
commit1b8e0d78bd208fc566fc5d627b3c3147e64113b1 (patch)
treed56c955470b9376fcbf4dcb254e3a1148a2ccdfe /src/datetime.rs
parent60b874308e6792a73cc00517a60bbef60a12e3cc (diff)
parentb9507d859d27d68b954a76202e60c5cf50c5604d (diff)
downloadmilf-rs-1b8e0d78bd208fc566fc5d627b3c3147e64113b1.tar.gz
milf-rs-1b8e0d78bd208fc566fc5d627b3c3147e64113b1.zip
Merge pull request #365 from AnderEnder/remove-deprecated-error-description
Remove deprecated Error::description
Diffstat (limited to 'src/datetime.rs')
-rw-r--r--src/datetime.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/datetime.rs b/src/datetime.rs
index 683bbda..bbaa30c 100644
--- a/src/datetime.rs
+++ b/src/datetime.rs
@@ -422,8 +422,4 @@ impl fmt::Display for DatetimeParseError {
}
}
-impl error::Error for DatetimeParseError {
- fn description(&self) -> &str {
- "failed to parse datetime"
- }
-}
+impl error::Error for DatetimeParseError {}