From 4a5ae87059c41ea3e264a0ffef0d9ff4c55b8b83 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Mon, 18 Mar 2024 15:04:46 +0100 Subject: WIP DAV hierarchy --- aero-dav/src/calencoder.rs | 2 +- aero-dav/src/realization.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'aero-dav') diff --git a/aero-dav/src/calencoder.rs b/aero-dav/src/calencoder.rs index e00876d..54a35a2 100644 --- a/aero-dav/src/calencoder.rs +++ b/aero-dav/src/calencoder.rs @@ -206,7 +206,7 @@ impl QWrite for ResourceType { async fn qwrite(&self, xml: &mut Writer) -> Result<(), QError> { match self { Self::Calendar => { - let empty_tag = xml.create_dav_element("calendar"); + let empty_tag = xml.create_cal_element("calendar"); xml.q.write_event_async(Event::Empty(empty_tag)).await }, } diff --git a/aero-dav/src/realization.rs b/aero-dav/src/realization.rs index 8c47fad..7bec729 100644 --- a/aero-dav/src/realization.rs +++ b/aero-dav/src/realization.rs @@ -18,7 +18,7 @@ impl xml::QWrite for Disabled { /// The base WebDAV /// -/// Any extension is kooh is disabled through an object we can't build +/// Any extension is disabled through an object we can't build /// due to a private inner element. #[derive(Debug, PartialEq, Clone)] pub struct Core {} -- cgit v1.2.3