title: What is the Rust equivalent of JavaScript's spread operator for arrays?
body: <p>In JavaScript, there is an operator called the spread operator that allows you to combine arrays very concisely.</p>
  
  <pre class="lang-js prettyprint-override"><code>let x = [3, 4];
  let y = [5, ...x]; // y is [5, 3, 4]
  </code></pre>
  
  <p>Is there a way to do something like this in Rust?</p>