aboutsummaryrefslogtreecommitdiff
path: root/src/trace.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-09-15 09:40:55 +0200
committerMartin Fischer <martin@push-f.com>2023-09-28 10:36:08 +0200
commitd46de6ab592e57a31fef13cfc015c4ce818e8f47 (patch)
tree814654b579f0a1754193a40786f09a711adc021a /src/trace.rs
parent2e986862920b438b253fd6e6f11d8f4e5d6f4e27 (diff)
feat: add span to Trace::Char
Diffstat (limited to 'src/trace.rs')
-rw-r--r--src/trace.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trace.rs b/src/trace.rs
index 620d4f3..fdf9212 100644
--- a/src/trace.rs
+++ b/src/trace.rs
@@ -14,7 +14,7 @@ use crate::token::AttributeTraceIdx;
#[allow(missing_docs)]
#[derive(Eq, PartialEq, Debug)]
pub enum Trace {
- Char,
+ Char(Range<usize>),
StartTag(StartTagTrace),
EndTag(EndTagTrace),
Comment(CommentTrace),