osa1 / lexgen

A fully-featured lexer generator, implemented as a proc macro
MIT License
63 stars 7 forks source link

Generated code triggers "double_comparisons" lint #51

Closed osa1 closed 2 years ago

osa1 commented 2 years ago

I'm not sure when exactly this happens and why, but in some cases we generate code that triggers clippy's double_comparisons lint.

We should figure out why this happens, and either fix it or suppress the warning in generated next methods.