aboutsummaryrefslogtreecommitdiff
path: root/src/tokenizer.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-08-12 11:50:46 +0200
committerMartin Fischer <martin@push-f.com>2023-08-19 06:41:55 +0200
commit69fdbee250ebfce135bff2671226097bc536d953 (patch)
tree994ef511feb77d7a095dc43ec62bca681242228e /src/tokenizer.rs
parent7a42549d3121bb9fe29e7e58260a287e62714bc3 (diff)
break!: stop re-exporting reader traits & types
This is primarily done to make the rustdoc more readable (by grouping Reader, IntoReader, StringReader and BufReadReader in the reader module). Ideally IntoReader is already implemented for your input type and you don't have to concern yourself with these traits / types at all.
Diffstat (limited to 'src/tokenizer.rs')
-rw-r--r--src/tokenizer.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tokenizer.rs b/src/tokenizer.rs
index 5abd6ba..62cc6a4 100644
--- a/src/tokenizer.rs
+++ b/src/tokenizer.rs
@@ -1,8 +1,9 @@
use crate::machine;
+use crate::reader::{IntoReader, Reader};
use crate::utils::{
control_pat, noncharacter_pat, surrogate_pat, ControlToken, State as InternalState,
};
-use crate::{DefaultEmitter, Emitter, Error, IntoReader, Reader};
+use crate::{DefaultEmitter, Emitter, Error};
// this is a stack that can hold 0 to 2 Ts
#[derive(Debug, Default, Clone, Copy)]