title: Return first item of vector
body: <p>I'm trying to write a shorthand function that returns the first element of a vector:</p>
  
  <pre><code>pub fn first() -&gt; Option&lt;&amp;T&gt; {
      let v = Vec::new();
      v.first()
  }
  </code></pre>
  
  <p>Which of course fails with:</p>
  
  <blockquote>
    <p>error: missing lifetime specifier [E0106]</p>
  </blockquote>
  
  <p>Is there any way to make this work?</p>