diff options
author | Martin Fischer <martin@push-f.com> | 2021-04-08 09:13:47 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2021-04-08 15:40:48 +0200 |
commit | 6133f17a178c0b746a124f52df36fe98d7d2db7a (patch) | |
tree | b3fdb9a789ef3d87d28387a88882ddfc5784f0a8 /src/tokenizer/mod.rs | |
parent | 2ade35bf1030e4eb4ccf7c02ceba04124669743c (diff) |
make dependencies on markup5ever explicit
Diffstat (limited to 'src/tokenizer/mod.rs')
-rw-r--r-- | src/tokenizer/mod.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tokenizer/mod.rs b/src/tokenizer/mod.rs index 267fdf3..6f97e7f 100644 --- a/src/tokenizer/mod.rs +++ b/src/tokenizer/mod.rs @@ -31,9 +31,9 @@ use std::collections::BTreeMap; use std::default::Default; use std::mem::replace; -pub use crate::buffer_queue::{BufferQueue, FromSet, NotFromSet, SetResult}; -use crate::tendril::StrTendril; -use crate::{Attribute, LocalName, QualName, SmallCharSet}; +pub use markup5ever::buffer_queue::{BufferQueue, FromSet, NotFromSet, SetResult}; +use markup5ever::tendril::StrTendril; +use markup5ever::{Attribute, LocalName, QualName, SmallCharSet}; mod char_ref; mod interface; @@ -1527,7 +1527,7 @@ impl<Sink: TokenSink> Tokenizer<Sink> { #[allow(non_snake_case)] mod test { use super::option_push; // private items - use crate::tendril::{SliceExt, StrTendril}; + use markup5ever::tendril::{SliceExt, StrTendril}; use super::{TokenSink, TokenSinkResult, Tokenizer, TokenizerOpts}; @@ -1538,7 +1538,7 @@ mod test { use markup5ever::buffer_queue::BufferQueue; use std::mem::replace; - use crate::LocalName; + use markup5ever::LocalName; // LinesMatch implements the TokenSink trait. It is used for testing to see // if current_line is being updated when process_token is called. The lines |