aboutsummaryrefslogtreecommitdiff
path: root/src/tokenizer
diff options
context:
space:
mode:
Diffstat (limited to 'src/tokenizer')
-rw-r--r--src/tokenizer/char_ref/mod.rs2
-rw-r--r--src/tokenizer/mod.rs10
2 files changed, 6 insertions, 6 deletions
diff --git a/src/tokenizer/char_ref/mod.rs b/src/tokenizer/char_ref/mod.rs
index e0369c7..484a9e1 100644
--- a/src/tokenizer/char_ref/mod.rs
+++ b/src/tokenizer/char_ref/mod.rs
@@ -8,8 +8,8 @@
// except according to those terms.
use super::{TokenSink, Tokenizer};
-use markup5ever::buffer_queue::BufferQueue;
use tendril::StrTendril;
+use crate::util::buffer_queue::BufferQueue;
use crate::util::str::is_ascii_alnum;
use log::debug;
diff --git a/src/tokenizer/mod.rs b/src/tokenizer/mod.rs
index 33c0a88..6c5823f 100644
--- a/src/tokenizer/mod.rs
+++ b/src/tokenizer/mod.rs
@@ -21,19 +21,19 @@ use self::states::{Rawtext, Rcdata, ScriptData, ScriptDataEscaped};
use self::char_ref::{CharRef, CharRefTokenizer};
-use crate::util::str::lower_ascii_letter;
+use crate::util::{smallcharset::SmallCharSet, str::lower_ascii_letter};
use log::debug;
use mac::{_tt_as_expr_hack, format_if, matches};
-use markup5ever::{namespace_url, ns, small_char_set};
+use markup5ever::{namespace_url, ns};
use std::borrow::Cow::{self, Borrowed};
use std::collections::BTreeMap;
use std::default::Default;
use std::mem::replace;
-pub use markup5ever::buffer_queue::{BufferQueue, FromSet, NotFromSet, SetResult};
+pub use crate::util::buffer_queue::{BufferQueue, FromSet, NotFromSet, SetResult};
use tendril::StrTendril;
-use markup5ever::{Attribute, LocalName, QualName, SmallCharSet};
+use markup5ever::{Attribute, LocalName, QualName};
mod char_ref;
mod interface;
@@ -1535,7 +1535,7 @@ mod test {
use super::interface::{EndTag, StartTag, Tag, TagKind};
use super::interface::{TagToken, Token};
- use markup5ever::buffer_queue::BufferQueue;
+ use crate::util::buffer_queue::BufferQueue;
use std::mem::replace;
use markup5ever::LocalName;