News for hackers. Stuff that matters.
Re:Rust for C++ Programmers Part 7: Data Types by nrc on Friday May 23, 2014 @09:09PM (#7792250)
In Rust, we are quite strict about the syntax used for destructuring matching the syntax used for instantiation. There is a name in the tuple-struct declaration, therefore you must use the name when pattern matching (even though it is redundant).

There are no comments on this comment yet.