aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tokenizer.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tokenizer.rs b/src/tokenizer.rs
index 8a6e2fd..9c41645 100644
--- a/src/tokenizer.rs
+++ b/src/tokenizer.rs
@@ -119,7 +119,7 @@ impl From<State> for machine::State {
}
}
-impl<R: Reader + Position<O>, O: Offset, E: Emitter<O>> Tokenizer<R, O, E> {
+impl<R, O, E> Tokenizer<R, O, E> {
/// Test-internal function to override internal state.
///
/// Only available with the `integration-tests` feature which is not public API.
@@ -167,7 +167,7 @@ where
}
}
-impl<R: Reader, O, E: Emitter<O>> Tokenizer<R, O, E> {
+impl<R, O, E> Tokenizer<R, O, E> {
pub(crate) fn enable_naive_state_switching(&mut self) {
self.machine.naively_switch_state = true;
}