title: Remove an element from a vector
body: <p>Is there a simple way to remove an element from a <code>Vec&lt;T&gt;</code>?</p>
  
  <p>There's a method called <a href="https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#method.remove" rel="noreferrer"><code>remove()</code></a>, and it takes an <code>index: usize</code>, but there isn't even an <code>index_of()</code> method that I can see.</p>
  
  <p>I'm looking for something (hopefully) simple and O(n).</p>