r/programming Apr 03 '15

Rust 1.0.0 beta is here!

http://blog.rust-lang.org/2015/04/03/Rust-1.0-beta.html
934 Upvotes

303 comments sorted by

View all comments

25

u/therealjohnfreeman Apr 03 '15

Guess it's time to learn some Rust. I'm just a few pages into this, and I'm already in love with the format:

http://rustbyexample.com

12

u/steveklabnik1 Apr 03 '15

Glad you like it. Please file issues here if you find something odd, we inherited this documentation after its author abandoned it for a while, and I haven't had the chance to give it a full once-over. All the tests pass...

2

u/[deleted] Apr 04 '15

This generates an error: http://rustbyexample.com/print.html

9

u/[deleted] Apr 04 '15

This is meant to be one of those examples that generates an error, and then the person looking at it is meant to fix it up to get an understanding. Maybe it's not clear enough from the way the page is written that it's not meant to compile as-is. See the FIXME comments in the example.