-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update variables5.rs book link #351
Conversation
Chore
Contributors |
5f7006d
to
a9a2e71
Compare
As a first time user, I was not able to figure out which book the exercise was talking about. |
info.toml
Outdated
@@ -52,7 +52,8 @@ because we want to assign a different typed value to an existing variable. Somet | |||
you may also like to reuse existing variable names because you are just converting | |||
values to different types like in this exercise. | |||
Fortunately Rust has a powerful solution to this problem: 'Shadowing'! | |||
You can read more about 'Shadowing' in the book's section 'Variables and Mutability'. | |||
You can read more about 'Shadowing' in the book's section 'Variables and Mutability': | |||
https://doc.rust-lang.org/book/ch03-01-variables-and-mutability.html?highlight=variables#shadowing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, do we want the highlight
query param?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, my bad. I think I copied my searched results from browser. Removed it.
info.toml
Outdated
@@ -52,7 +52,8 @@ because we want to assign a different typed value to an existing variable. Somet | |||
you may also like to reuse existing variable names because you are just converting | |||
values to different types like in this exercise. | |||
Fortunately Rust has a powerful solution to this problem: 'Shadowing'! | |||
You can read more about 'Shadowing' in the book's section 'Variables and Mutability'. | |||
You can read more about 'Shadowing' in the book's section 'Variables and Mutability': | |||
https://doc.rust-lang.org/book/ch03-01-variables-and-mutability.html#shadowing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last minor nit: in my terminal, the final dot messes with the link, so it ends up not jumping to the "Shadowing" section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed "."
Also, cargo
updated the Cargo.lock as well. At this point, I am not sure if it is unwanted.
chore: update variables5.rs book link chore: update variables5.rs book link
chore: update variables5.rs book link chore: update variables5.rs book link
chore: update variables5.rs book link chore: update variables5.rs book link
chore: update variables5.rs book link chore: update variables5.rs book link
chore: update variables5.rs book link chore: update variables5.rs book link
chore: update variables5.rs book link