How to convert an integer to byte literal in Rust? : <p>I am trying to convert an integer to byte literal in Rust:</p>

<pre><code>for x in 0..10000 {
  let key = x.to_???;
  other_function(key);
}
</code></pre>

<p>Could not find it in the docs.</p>
