1 comment

[ 2.9 ms ] story [ 14.0 ms ] thread
You might also mention the struct update syntax, which is really neat in relation to immutable structures:

    let jack = Person{name:"Jack", age:26};
    let jack_jr = Person{age: 1, ..jack};