diff options
author | Martin Fischer <martin@push-f.com> | 2023-09-15 08:15:29 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2023-09-28 10:36:08 +0200 |
commit | e0434737b20b32a8d7238a134c3662fa9075eb6d (patch) | |
tree | 8fbfc1fa768fead46a425a1c51970338517ed695 /src/trace.rs | |
parent | d913e6e91e43241b0105afbbad7db5c5bcda0255 (diff) |
feat: add offset to Trace::EndOfFile
Diffstat (limited to 'src/trace.rs')
-rw-r--r-- | src/trace.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trace.rs b/src/trace.rs index a816429..620d4f3 100644 --- a/src/trace.rs +++ b/src/trace.rs @@ -19,7 +19,7 @@ pub enum Trace { EndTag(EndTagTrace), Comment(CommentTrace), Doctype(DoctypeTrace), - EndOfFile, + EndOfFile(usize), } /// Provides byte offsets and syntax information for a [`StartTag`] token. |