From 6220082e9b03151f14f274a7458e79c8d6e1ad3e Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sun, 28 Nov 2021 08:19:38 +0100 Subject: stop re-exporting Token & TagKind variants --- examples/tokenize.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'examples') 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)] -- cgit v1.2.3