aboutsummaryrefslogtreecommitdiff
path: root/aero-dav
diff options
context:
space:
mode:
Diffstat (limited to 'aero-dav')
-rw-r--r--aero-dav/src/calencoder.rs2
-rw-r--r--aero-dav/src/realization.rs2
2 files changed, 2 insertions, 2 deletions
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<impl IWrite>) -> 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 {}