aboutsummaryrefslogtreecommitdiff
path: root/src/datetime.rs
diff options
context:
space:
mode:
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 {}