diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-03-01 08:32:02 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-03-01 08:32:02 +0100 |
commit | e88e448179239fcc41aa03efcbfb2cc2ab0c922e (patch) | |
tree | a3677021f62716d931f130e3e477289e5a428619 /src/dav/types.rs | |
parent | 33a02ff695c57fe88d394ad4d556bb390934ccd6 (diff) | |
download | aerogramme-e88e448179239fcc41aa03efcbfb2cc2ab0c922e.tar.gz aerogramme-e88e448179239fcc41aa03efcbfb2cc2ab0c922e.zip |
Simplify code
Diffstat (limited to 'src/dav/types.rs')
-rw-r--r-- | src/dav/types.rs | 5 |
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; |