Rust Lang in a nutshell
softax.pl
Rust Lang in a nutshell
1–10 of 36 posts
Re: Rust Lang in a nutshell
#2Re: Rust Lang in a nutshell
#3 let s1 ="hello world";
let s2 = s1; // copied – x1 is still valid
let x1 = 2;
let x2 = x1; // copied – x1 is still valid
println!("{} for the {}nd time!", s1, x1);
Typo in first comment? s1 vs x1?Re: Rust Lang in a nutshell
#4let s1 ="hello world"; let s2 = s1; // copied – x1 is still valid let x1 = 2; let x2 = x1; // copied – x1 is still valid println!("{} for the {}nd time!", s1, x1); Typo in first comment? s1 vs x1?
Re: Rust Lang in a nutshell
#5Re: Rust Lang in a nutshell
#6See also, https://doc.rust-lang.org/book/title-page.html
Re: Rust Lang in a nutshell
#7Webcache version - https://webcache.googleusercontent.com/search?q=cache:SHrbch...
Re: Rust Lang in a nutshell
#8Re: Rust Lang in a nutshell
#9For those with more experience, Rust By Example walks through the same concepts in a more compact form that also lets you experiment with the code in your browser: https://doc.rust-lang.org/rust-by-example/index.html
Re: Rust Lang in a nutshell
#10See also, https://doc.rust-lang.org/book/title-page.html
I tend to like "Learn X in Y minutes" for a quick overview of common syntax / constructs. https://learnxinyminutes.com/docs/rust/
It's much denser than "Learn X in Y minutes" but it covers more.