Learning Rust :safe:

Some issues for anyone wanting to learn a bit of Rust while helping out with vdash:

7 Likes

Anybody else watching this channel? Let’s Get Rusty

Im slowly working my way through all his videos and beginning to understand more and more. Still finding a few things that go wrong when trying to follow along, I suspect my extensions in VSCode are being very strict.

Let me know if you have tried to follow along and what issues you hit.

Heres me scratching my head worrying about a comma while doing a tutorial on Structs

the build_user function is


fn build_user(email: String, username: String) -> User {
    User {
        email,
        username,
        active: true,
        sign_in_count: 1,
    }
5 Likes
build_user(String::from("asd"), String::from("dsa"));

without “email:” & “username:”

2 Likes

and then there was a LOT less red squiggles :slight_smile:

Thank you.

Just had this delivered :slight_smile:
https://www.amazon.co.uk/dp/B09QFQ3Y64/ref=dp_kinw_strp_1

4 Likes

Here’s a link to the Lets Get Rusty discord server
Discord.

3 Likes