[rust-dev] Arrays, vectors...
rick.richardson at gmail.com
Tue Mar 27 10:26:48 PDT 2012
I just realized that my suggestions have a serious functional bent.
I don't address the need to create an array on the stack then fill it
in later, obviously necessary for performance in certain cases as well
as C interop.
In this case, I prefer the a mutation on the initial suggestion:
let x = [int]'10
x = [int]#10
I think I prefer ` because it's less syntactically busy in monospace
font. Failing that, I still prefer # over /
More information about the Rust-dev