From 40503f46d58b83230b62f5619175af59fcccfa9d Mon Sep 17 00:00:00 2001 From: daladim Date: Thu, 4 Nov 2021 18:54:53 +0100 Subject: [PATCH] typo --- src/ical/parser.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ical/parser.rs b/src/ical/parser.rs index 93be645..8a33db0 100644 --- a/src/ical/parser.rs +++ b/src/ical/parser.rs @@ -17,9 +17,9 @@ use crate::Event; pub fn parse(content: &str, item_id: ItemId, sync_status: SyncStatus) -> Result> { let mut reader = ical::IcalParser::new(content.as_bytes()); let parsed_item = match reader.next() { - None => return Err(format!("Invalid uCal data to parse for item {}", item_id).into()), + None => return Err(format!("Invalid iCal data to parse for item {}", item_id).into()), Some(item) => match item { - Err(err) => return Err(format!("Unable to parse uCal data for item {}: {}", item_id, err).into()), + Err(err) => return Err(format!("Unable to parse iCal data for item {}: {}", item_id, err).into()), Ok(item) => item, } };