aboutsummaryrefslogtreecommitdiff
path: root/examples/tokenize.rs
diff options
context:
space:
mode:
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)]