eeeeeta / blog-comments

Comments for the blog at theta.eu.org.
0 stars 0 forks source link

Learn You a Rust for Great Good! #2

Open utterances-bot opened 6 years ago

utterances-bot commented 6 years ago

Learn You a Rust for Great Good!

This is the start of a very-much-work-in-progress Rust tutorial/explainer.I doubt it’ll be of much use considering the material already out there, but here y...

https://theta.eu.org/2016/03/12/learn-you-a-rust-for-great-good.html

willurd commented 6 years ago

Thanks for writing this series. One small issue:

We then store a copy in the variable y

You're actually just creating another reference to the same object in x. You can test that out by modifying the object using y and reading it back using x: https://i.imgur.com/yT4QU2H.png

eeeeeta commented 6 years ago

Hi @willurd, thanks for the comment! I've updated the article to incorporate your feedback; it should be (mostly) correct now :)

willurd commented 6 years ago

Looks great!

sonng commented 5 years ago

Thanks for the article, it was a nice read.

For anyone else who stumbles onto this, the link to the next article is here