diff options
Diffstat (limited to 'src/tokenizer.rs')
-rw-r--r-- | src/tokenizer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tokenizer.rs b/src/tokenizer.rs index 7cc4712..05c1165 100644 --- a/src/tokenizer.rs +++ b/src/tokenizer.rs @@ -57,7 +57,7 @@ pub struct Tokenizer<R: Reader, O, E: Emitter<O>> { pub(crate) naively_switch_state: bool, } -impl<R: Reader, O: Offset, E: Emitter<O>> Tokenizer<R, O, E> { +impl<R: Reader + Position<O>, O: Offset, E: Emitter<O>> Tokenizer<R, O, E> { /// Creates a new tokenizer from some input and an emitter. /// /// Note that properly parsing HTML with this tokenizer requires you to |