aboutsummaryrefslogtreecommitdiff
path: root/examples/tokenize.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-11-28 08:19:38 +0100
committerMartin Fischer <martin@push-f.com>2021-11-29 15:10:29 +0100
commit6220082e9b03151f14f274a7458e79c8d6e1ad3e (patch)
tree3e1382280c7d083c6b06ea39e4655d419aeceb33 /examples/tokenize.rs
parent6ac6f3a65a15720fbfe89573c2392d063c25e82e (diff)
stop re-exporting Token & TagKind variants
Diffstat (limited to 'examples/tokenize.rs')
-rw-r--r--examples/tokenize.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/tokenize.rs b/examples/tokenize.rs
index bea6a84..d70bfff 100644
--- a/examples/tokenize.rs
+++ b/examples/tokenize.rs
@@ -13,8 +13,9 @@ use std::default::Default;
use std::io;
use html5tokenizer::BufferQueue;
-use html5tokenizer::{CharacterTokens, EndTag, NullCharacterToken, StartTag, TagToken};
-use html5tokenizer::{ParseError, Token, TokenSink, TokenSinkResult, Tokenizer, TokenizerOpts};
+use html5tokenizer::TagKind::{EndTag, StartTag};
+use html5tokenizer::Token::{CharacterTokens, NullCharacterToken, ParseError, TagToken};
+use html5tokenizer::{Token, TokenSink, TokenSinkResult, Tokenizer, TokenizerOpts};
use io::Read;
#[derive(Copy, Clone)]