aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-08-29 13:17:59 +0200
committerMartin Fischer <martin@push-f.com>2023-09-28 10:36:08 +0200
commite39b3297d81720b60fb4c23eca73c02a13bfc82a (patch)
treee95f3f45934da92c7d883fc0618fb9dbbd23adbe /README.md
parentbb7c64a8245769f20742502cfa942f33ccb08af7 (diff)
break!: make DefaultEmitter::emit_eof emit EndOfFile
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index 07d9e06..6513b61 100644
--- a/README.md
+++ b/README.md
@@ -25,6 +25,7 @@ for token in NaiveParser::new(html).flatten() {
Token::EndTag(tag) => {
write!(new_html, "</{}>", tag.name).unwrap();
}
+ Token::EndOfFile => {},
_ => panic!("unexpected input"),
}
}