1 2 3 4 5 6 7 8
fn main() { let x = [@{mut a: @10, b: @20}]; for @{a, b} in x { assert *a == 10; (*x[0]).a = @30; assert *a == 10; } }