From dead23ea380ad5602430fc5398cdf5ec1bb3921c Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Thu, 8 Apr 2021 15:53:14 +0200 Subject: fix scope, add short module docstring --- examples/noop-tokenize.rs | 2 +- examples/tokenize.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'examples') diff --git a/examples/noop-tokenize.rs b/examples/noop-tokenize.rs index 9557965..305727e 100644 --- a/examples/noop-tokenize.rs +++ b/examples/noop-tokenize.rs @@ -14,7 +14,7 @@ extern crate html5tokenizer; use std::default::Default; use std::io; -use html5tokenizer::tokenizer::{BufferQueue, Token, TokenSink, TokenSinkResult, Tokenizer}; +use html5tokenizer::{BufferQueue, Token, TokenSink, TokenSinkResult, Tokenizer}; use io::Read; struct Sink(Vec); diff --git a/examples/tokenize.rs b/examples/tokenize.rs index e9b0013..dc3b476 100644 --- a/examples/tokenize.rs +++ b/examples/tokenize.rs @@ -12,9 +12,9 @@ extern crate html5tokenizer; use std::default::Default; use std::io; -use html5tokenizer::tokenizer::BufferQueue; -use html5tokenizer::tokenizer::{CharacterTokens, EndTag, NullCharacterToken, StartTag, TagToken}; -use html5tokenizer::tokenizer::{ +use html5tokenizer::BufferQueue; +use html5tokenizer::{CharacterTokens, EndTag, NullCharacterToken, StartTag, TagToken}; +use html5tokenizer::{ ParseError, Token, TokenSink, TokenSinkResult, Tokenizer, TokenizerOpts, }; use io::Read; -- cgit v1.2.3