pretzelhammer / rust-blog

Educational blog posts for Rust beginners
Apache License 2.0
7.53k stars 396 forks source link

Fix typo in example3 #13

Closed ivan closed 4 years ago

ivan commented 4 years ago

Rust puts the the type last :-)

pretzelhammer commented 4 years ago

Wow, I can't believe that made it into the blog post, my JS background really shows in that bad example, thanks for catching and fixing it!