title: Which one is more Idiomatic in rust?
body: <p>Which is more idiomatic rust in this case, </p>
  
  <pre><code>//This is a C like a syntax where you can get the value at a location through *.
  fn largest_i32(list: &amp;[i32])-&gt; i32{
      let mut largest = list[0];
  
      for item in list.iter(){
          if *item &gt; largest{
              largest = *item;
          }
  
      };
      largest
  }
  
  </code></pre>
  
  <p>or </p>
  
  <pre><code>//This syntax seems confusing to me, Is rust doing derefrecing iteself.
  fn largest_i32(list: &amp;[i32]) -&gt; i32 {
      let mut largest = list[0];
  
      for &amp;item in list.iter() {
          if item &gt; largest {
              largest = item;
          }
      }
  
      largest
  }
  </code></pre>