1. 11
  1.  

  2. 6

    The Rust project’s dedication to shaving off little annoyances like this is very appreciated, assuming this addresses the “temporary value dropped while borrowed” error that happens in long chains of iter calls, requiring you to break the chain, store the value in a temporary variable, then continue the chain. This will also be useful for newbies: I remember this error being particularly impenetrable when I was starting out, and the solution of using a temporary variable reinforced the idea that the borrow checker was just something to wrestle against instead of something that helps you.