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
or
    x =  [int]#10

I think I prefer  ` because it's less syntactically busy in monospace
font. Failing that, I still prefer # over  /
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to