Replies: 3 comments
-
Disclaimer: not a maintainer I don't think this is a typo. Yes, Going for full state coverage is, at least in my experience, something you learn to appreciate if you do anything safety-related 1. It makes your stuff more resilient against all kinds of things, including random bitflips (e.g. in environments with higher radiation such as space) 2 and human error committed by some developer 3. This may seem paranoid, but in these cases being paranoid doesn't hurt. The Footnotes
|
Beta Was this translation helpful? Give feedback.
-
Hi @neithernut, thanks for your review!
|
Beta Was this translation helpful? Give feedback.
-
I don't agree, a word that contains 4 consecutive vowels does also contain 3 consecutive vowels. So you wouldn't ever expect a word with 4 consecutive vowels to get a How someone would implement that in production, depends on a variety of different factors, for sure. And this implementation might not be well suited if you want to determine differences between 3 and 4 vowel words. |
Beta Was this translation helpful? Give feedback.
-
Hello, just small fix in
https://github.com/rust-unofficial/patterns/blob/79467dc4480fd93c85596d4a7bd18160527ce3e2/src/idioms/coercion-arguments.md?plain=1#L38C16-L38C38
vowel_count>=3
should be changed to
vowel_count == 3
because reaching 4 is not possible.
Beta Was this translation helpful? Give feedback.
All reactions