diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ use std::fmt::Write; use html5tokenizer::{DefaultEmitter, Tokenizer, Token}; let html = "<title >hello world</title>"; -let emitter = DefaultEmitter::<_, ()>::default(); +let emitter = DefaultEmitter::<_>::default(); let mut new_html = String::new(); for token in Tokenizer::new(html, emitter).flatten() { |