aboutsummaryrefslogtreecommitdiff
path: root/src/token.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-09-10 10:37:18 +0200
committerMartin Fischer <martin@push-f.com>2023-09-28 10:36:08 +0200
commit55729998c2217bfdbbccf9832b29d3bcd0315094 (patch)
treede17a8da482a650eab7101e31f1c555dd15f8e4c /src/token.rs
parent3bcbdbae41c67dd41333097cd405dcdc26fce67f (diff)
refactor: simplify attribute logic in DefaultEmitter
Diffstat (limited to 'src/token.rs')
-rw-r--r--src/token.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/token.rs b/src/token.rs
index 3104a61..ed8c8c8 100644
--- a/src/token.rs
+++ b/src/token.rs
@@ -155,7 +155,7 @@ pub struct AttributeMap<O> {
/// The value type internally used by the [`AttributeMap`].
/// Not part of the public API.
-#[derive(Debug, Eq, PartialEq)]
+#[derive(Default, Debug, Eq, PartialEq)]
pub(crate) struct AttrInternal<O> {
pub value: String,
/// The span of the attribute name.