From d36014200549cf73a7f22c6f94fb15bec17823e8 Mon Sep 17 00:00:00 2001 From: Vika Date: Mon, 29 Jan 2024 07:08:21 +0300 Subject: lint: no extra whitespace on line endings --- templates-neo/src/mf2.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates-neo/src/mf2.rs') diff --git a/templates-neo/src/mf2.rs b/templates-neo/src/mf2.rs index e59b51c..194e02b 100644 --- a/templates-neo/src/mf2.rs +++ b/templates-neo/src/mf2.rs @@ -223,7 +223,7 @@ impl TryFrom for Cite { todo!() } - + } pub enum Citation { @@ -343,7 +343,7 @@ impl TryFrom for Entry { PropertyValue::Temporal(Temporal::Timestamp(dt)) => { // This is incredibly sketchy. let (date, time, offset) = (dt.date.clone().unwrap().data, dt.as_time().unwrap().data.clone(), dt.as_time().unwrap().offset.unwrap().data); - + date.and_time(time).and_local_timezone(offset).single().ok_or_else(|| Error::WrongValueType { expected: "datetime with timezone", got: PropertyValue::Temporal(Temporal::Timestamp(dt)) -- cgit 1.4.1