Comment

Comment by acqq

Reading the new Guide:

http://doc.rust-lang.org/guide.html

"The first thing we'll learn about are 'variable bindings.' They look like this:

    let x = 5i;
"

And so on: "let (x, y) = (1i, 2i); let x = 5i; x = 10i; "

I had to double check if the default (when the i is not written) is something else than int. It is confusing.

parent acqq 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton