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 661214c..83b18e1 100644 --- a/src/tokenizer.rs +++ b/src/tokenizer.rs @@ -72,7 +72,7 @@ impl<R: Reader + Position<O>, O: Offset, E: Emitter<O>> Tokenizer<R, O, E> { } /// An event yielded by the [`Iterator`] implementation for the [`Tokenizer`]. -#[derive(Debug)] +#[derive(Clone, Debug)] pub enum Event<T> { /// A token emitted by the [`Emitter`]. Token(T), |