aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRuben Pollan2020-05-19 11:39:21 +0200
committerRuben Pollan2020-05-19 11:39:21 +0200
commitcef46c62154bc125637b4d5489316f24c16e9569 (patch)
treee886f65956a4b262f7dbe640ace333bc82ae6f75 /src
parent6932e725524532a199113e40ca1d06476b88ff4f (diff)
Release 0.3.0 and update dependencies
Diffstat (limited to 'src')
-rw-r--r--src/errors.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/errors.rs b/src/errors.rs
index 431e6e4..e7d84c2 100644
--- a/src/errors.rs
+++ b/src/errors.rs
@@ -1,19 +1,19 @@
use std::io;
use std::num::ParseIntError;
-use ical::parser;
+use ical::parser::ParserError;
use toml;
#[derive(Debug)]
pub enum EventError {
- IcalError(parser::errors::Error),
+ IcalError(ParserError),
IntError(ParseIntError),
StatusError,
FreqError,
BydayError,
}
-impl From<parser::errors::Error> for EventError {
- fn from(err: parser::errors::Error) -> EventError {
+impl From<ParserError> for EventError {
+ fn from(err: ParserError) -> EventError {
EventError::IcalError(err)
}
}