Hi Graydon et al, I started learning Rust today, and while it's building, I'm going through the tutorial. I understand that it's quite outdated (points to 0.1 still), but here's a couple things I spotted:
Under 3.6.2 Other literals: * This: "A newline (Unicode character 32)" should say 10 instead of 32! * Here: "\xHH, \uHHHH, \UHHHHHHHH Unicode escapes", I strongly suggest that \xHH be modified to allow inputting direct UTF-8 bytes. For ASCII it doesn't make any different. For Latin1, it gives the impression that strings are stored in Latin1, which is not the case. It would also make C / Python escaped strings directly usable in Rust. Ie. '\xE2\x98\xBA' would be a single character equivalent to '\u263a', not three Latin1 characters. Under 4.4 Loops: * This: "loop is the preferred way of writing while true" doesn't match the example that follows it, which still uses "while true". Cheers, behdad _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
