diff options
author | 2024-11-20 15:46:24 +0000 | |
---|---|---|
committer | 2024-11-20 15:46:24 +0000 | |
commit | 49c8d52f0d4a41c340dd73c945119e69cf345a42 (patch) | |
tree | e9afabadf21b9704d13dae0e22bff7d74ec5c683 /src/element.rs | |
parent | a3dc4e1475a92c011cc55a070e268036abe88b01 (diff) | |
download | peanuts-49c8d52f0d4a41c340dd73c945119e69cf345a42.tar.gz peanuts-49c8d52f0d4a41c340dd73c945119e69cf345a42.tar.bz2 peanuts-49c8d52f0d4a41c340dd73c945119e69cf345a42.zip |
make namespaces optional
Diffstat (limited to 'src/element.rs')
-rw-r--r-- | src/element.rs | 2 |
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, } |