diff options
author | 2022-06-29 14:40:57 +0200 | |
---|---|---|
committer | 2022-06-29 14:40:57 +0200 | |
commit | a1a66ce2a848458a7e0cdaf110ceeffb7b8943a2 (patch) | |
tree | b4774dd26522ec24135b27abec8bf4e97cda0dce /src/tokenizer.rs | |
parent | 7721f210c16e19b1c2af90f69130386b89bb5104 (diff) | |
download | markdown-rs-a1a66ce2a848458a7e0cdaf110ceeffb7b8943a2.tar.gz markdown-rs-a1a66ce2a848458a7e0cdaf110ceeffb7b8943a2.tar.bz2 markdown-rs-a1a66ce2a848458a7e0cdaf110ceeffb7b8943a2.zip |
Refactor to externalize handlers of compiler
Diffstat (limited to '')
-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 cba055d..cb02e21 100644 --- a/src/tokenizer.rs +++ b/src/tokenizer.rs @@ -20,7 +20,7 @@ use crate::parser::ParseState; /// Semantic label of a span. // To do: figure out how to share this so extensions can add their own stuff, // though perhaps that’s impossible and we should inline all extensions? -#[derive(Debug, Clone, PartialEq)] +#[derive(Debug, Clone, PartialEq, Hash, Eq)] pub enum TokenType { /// Whole autolink. /// |