toipe icon indicating copy to clipboard operation
toipe copied to clipboard

Words starting with z are most likely ignored

Open Samyak2 opened this issue 2 years ago • 2 comments

Clippy found a bug in: https://github.com/Samyak2/toipe/blob/3cb7e31bd5dc61f0e89c244d2f6a7a3c5580856b/src/textgen.rs#L78

The range should have been inclusive.

https://github.com/Samyak2/toipe/runs/8056437431?check_suite_focus=true#step:6:8

Samyak2 avatar Sep 05 '22 01:09 Samyak2

couldn't you just change the .. to a ..=?

nthnd avatar Sep 05 '22 07:09 nthnd

Yes, that's the solution. I opened this issue so that I wouldn't forget it. PRs are always welcome though :)

Samyak2 avatar Sep 05 '22 09:09 Samyak2