title: How to perform element-wise subtraction between two vectors?
body: <p>I have to <code>Vec</code>s: <code>vec_a</code> and <code>vec_b</code>. Both the same size. I want to perform element-wise subtraction between the two vectors and save the answer in a third vector <code>vec_c</code>. For example:</p>
  <pre><code>vec_a = [1, 2, 3]
  vec_b = [0, 2, -3]
  vec_c = vec_a - vec_b = [1, 0, 6]
  </code></pre>
  <p>The solution I've come with is this function:</p>
  <pre><code>pub fn elementwise_subtraction(vec_a: Vec&lt;i32&gt;, vec_b: Vec&lt;i32&gt;) -&gt; Vec&lt;i32&gt; {
      let mut vec_c = Vec::new();
      for i in 0..vec_a.len() {
          vec_c.push(vec_a[i] - vec_b[i]);
      }
      vec_c
  }
  </code></pre>
  <p>I feel like this is a bit verbose for a pretty simple operation. Is there a better/more idiomatic way to do this?</p>