aboutsummaryrefslogtreecommitdiffstats
path: root/src/element.rs
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@bunny.garden>2024-11-20 15:46:24 +0000
committerLibravatar cel 🌸 <cel@bunny.garden>2024-11-20 15:46:24 +0000
commit49c8d52f0d4a41c340dd73c945119e69cf345a42 (patch)
treee9afabadf21b9704d13dae0e22bff7d74ec5c683 /src/element.rs
parenta3dc4e1475a92c011cc55a070e268036abe88b01 (diff)
downloadpeanuts-49c8d52f0d4a41c340dd73c945119e69cf345a42.tar.gz
peanuts-49c8d52f0d4a41c340dd73c945119e69cf345a42.tar.bz2
peanuts-49c8d52f0d4a41c340dd73c945119e69cf345a42.zip
make namespaces optional
Diffstat (limited to 'src/element.rs')
-rw-r--r--src/element.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/element.rs b/src/element.rs
index d883c04..5b5f048 100644
--- a/src/element.rs
+++ b/src/element.rs
@@ -22,7 +22,7 @@ pub struct NamespaceDeclaration {
// names are qualified, they contain a reference to the namespace (held within the reader/writer)
#[derive(PartialEq, Eq, Hash, Clone, Debug)]
pub struct Name {
- pub namespace: String,
+ pub namespace: Option<String>,
pub local_name: String,
}