Content deleted Content added
m →Language-specific details: Add Rust to article with code examples |
m →Rust: Update code comment |
||
Line 402:
immutable_ref.x = 3; // error E0594
// by default, variables are immutable
let immutable_obj = Object { x: 4, y: 5 };
immutable_obj.x = 6; // error E0594
|