diff options
author | Vika <vika@fireburn.ru> | 2024-01-29 07:08:21 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2024-01-29 07:08:21 +0300 |
commit | d36014200549cf73a7f22c6f94fb15bec17823e8 (patch) | |
tree | 6e56f912219c5d20e2768b1f016f23fff22fe83e /templates-neo | |
parent | ed51d48f7353a5ceefa798ded52d3af465d4d0ec (diff) | |
download | kittybox-d36014200549cf73a7f22c6f94fb15bec17823e8.tar.zst |
lint: no extra whitespace on line endings
Diffstat (limited to 'templates-neo')
-rw-r--r-- | templates-neo/src/mf2.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<Item> for Cite { todo!() } - + } pub enum Citation { @@ -343,7 +343,7 @@ impl TryFrom<Item> 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)) |