aboutsummaryrefslogtreecommitdiff
path: root/src/dav/types.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-03-01 08:32:02 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-03-01 08:32:02 +0100
commite88e448179239fcc41aa03efcbfb2cc2ab0c922e (patch)
treea3677021f62716d931f130e3e477289e5a428619 /src/dav/types.rs
parent33a02ff695c57fe88d394ad4d556bb390934ccd6 (diff)
downloadaerogramme-e88e448179239fcc41aa03efcbfb2cc2ab0c922e.tar.gz
aerogramme-e88e448179239fcc41aa03efcbfb2cc2ab0c922e.zip
Simplify code
Diffstat (limited to 'src/dav/types.rs')
-rw-r--r--src/dav/types.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dav/types.rs b/src/dav/types.rs
index b0c0083..8807658 100644
--- a/src/dav/types.rs
+++ b/src/dav/types.rs
@@ -11,9 +11,8 @@ pub trait Extension {
}
/// No extension
-pub struct NoExtension {}
-pub enum Namespace {
- Dav
+pub struct NoExtension {
+ pub root: bool
}
impl Extension for NoExtension {
type Error = Disabled;