With the other numeric types, I'd assume. 0_i8, 0_f32 etc all work. On Mon, 2014-11-03 at 15:25 -0500, Evan G wrote: > Not consistent with what? The syntax for number literals is taken > directly from C/C++, and is used by many other languages. > > > On Mon, Nov 3, 2014 at 3:19 PM, Jake Scott <jake....@gmail.com> wrote: > I was trying to declare a uint using this: > let a: uint = 0_uint; > > > > But the correct way to declare it is: > let a: uint = 0u; > > > > Anyone else think that's not consistent? > > > > > > > > _______________________________________________ > Rust-dev mailing list > Rust-dev@mozilla.org > https://mail.mozilla.org/listinfo/rust-dev > > > > _______________________________________________ > Rust-dev mailing list > Rust-dev@mozilla.org > https://mail.mozilla.org/listinfo/rust-dev
_______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev