Closed rdnt closed 9 months ago
Hey @rdnt, nice catch. Instead of checking if the len
of the array is zero we can check if the index >= the length which will catch this empty case and other cases where it may panic.
Hi! :D Committed the suggestion, thanks!
Fixes a possible panic in case CurrentSuggestion is called on an empty input.