From f8abc22e63172059044072a7cf64c33b819a9150 Mon Sep 17 00:00:00 2001 From: Lennart <18233294+lennart-k@users.noreply.github.com> Date: Wed, 23 Jul 2025 20:41:06 +0200 Subject: [PATCH] clippy appeasement --- crates/ical/src/timestamp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ical/src/timestamp.rs b/crates/ical/src/timestamp.rs index f23a57b..e2d9f4d 100644 --- a/crates/ical/src/timestamp.rs +++ b/crates/ical/src/timestamp.rs @@ -208,7 +208,7 @@ impl CalDateTime { matches!(&self, Self::Date(_, _)) } - pub fn as_datetime(&self) -> Cow> { + pub fn as_datetime(&self) -> Cow<'_, DateTime> { match self { Self::DateTime(datetime) => Cow::Borrowed(datetime), Self::Date(date, tz) => Cow::Owned(