Currently searching for a word smaller than arity cause: thread 'main' panicked at 'attempt to subtract with overflow'.
This fix modify count_allgrams to handle the case gracefully.
Let me know if any changes are needed or if this case should be handled differently
Currently searching for a word smaller than arity cause:
thread 'main' panicked at 'attempt to subtract with overflow'
. This fix modifycount_allgrams
to handle the case gracefully. Let me know if any changes are needed or if this case should be handled differently