Rust tuple: evaluation order: left -> right?


#1
  1. This is a followup to Function eval order: inside-out, left-right?

  2. In

match (a(), b(), c(), d(), e(), ...) {
}

Does anything in Rust guarantee that a, b, c, d, e, … are evaluated left to right?


#2

Yes, Rust guarantees stable evaluation order.

(That’s part of why it doesn’t have things like postincrement operators.)