From cef46c62154bc125637b4d5489316f24c16e9569 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Tue, 19 May 2020 11:39:21 +0200 Subject: Release 0.3.0 and update dependencies --- src/errors.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/errors.rs') 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 for EventError { - fn from(err: parser::errors::Error) -> EventError { +impl From for EventError { + fn from(err: ParserError) -> EventError { EventError::IcalError(err) } } -- cgit v1.2.3