On Mon, Mar 24, 2014 at 7:32 PM, Richo Healey <[email protected]> wrote: > let vec: [u8, .. FooBar::size()]; > > Potentially with parens ommittted, to convey that there's no runtime > computation?
Not sure if it matters, but another thing one might want to use in a constant expression is sizeof, which wouldn't necessarily be amenable to a similar approach. _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
