You're not alone.  This was bikeshedded a while back, and I think the
decision was that 8uint felt too verbose for what is a common thing,
and that renaming uint to u was inappropriately short.

I think this topic isn't 100% closed yet, in particular renaming uint
to something like uintptr or usize or something has been brought up.
Github isn't loading for me right now, but I think there might have
been an open RFC in this area.

On Mon, Nov 3, 2014 at 12:19 PM, Jake Scott <[email protected]> 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
> [email protected]
> https://mail.mozilla.org/listinfo/rust-dev
>
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to