title: Is it possible to unpack a tuple into function arguments?
body: <p>If I want to unpack a tuple and pass it as arguments is there a way to do this:</p>
  
  <pre><code>//Does not compile
  fn main() {
      let tuple = (10, Vec::new());
      foo(tuple);
  }
  fn foo(a: i32, b: Vec&lt;i32&gt;) {
      //Does stuff.
  }
  </code></pre>
  
  <p>Instead of having to do this:</p>
  
  <pre><code>fn main() {
      let tuple = (10, Vec::new());
      foo(tuple.0, tuple.1);
  }
  fn foo(a: i32, b: Vec&lt;i32&gt;) {
      //Does stuff.
  }
  </code></pre>