title: How to avoid "_" case in matches on modular numbers
body: <p>This smells bad:</p>
  <pre><code>let millis = time % 1000;
  match millis {
      0..=199 =&gt; do_something(),
      200..=599 =&gt; do_something_else(),
      600..=999 =&gt; do_something_altogether_different(),
      _ =&gt; panic!(&quot;There are only 1,000 ms in a second.&quot;),
  }
  </code></pre>
  <p>The &quot;_&quot; case will never be called, as <code>millis</code> is <code>time % 1000</code>.</p>
  <p>How can I rewrite this so that I only have three branches?</p>
  <p>Ideally, I'd also like to remove the duplication that is 199/200, 599/600 and 999/1000/0.</p>
  <p>If the best solution is not a <code>match</code> I'm happy to use some other control structure.</p>