I agree, it should be relatively easy to type. Just another suggestion:
ref x = y // immutable borrow
ref var x = &y // mutable borrow
for ref x in array {}
for ref var x in &array {}
I agree, it should be relatively easy to type. Just another suggestion:
ref x = y // immutable borrow
ref var x = &y // mutable borrow
for ref x in array {}
for ref var x in &array {}