mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-26 15:24:17 -05:00
chore: Update variables6.rs hint book link, wording
While the included link for variables6 does navigate to the correct page, the header in the link itself does not actually exist so it only loads the top of the page. There is, however, some text about the difference between variables and constants in the "Constants" section, so reword the hint some and update the link.
This commit is contained in:
parent
60410cfd2e
commit
9688609d08
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ Constants are always immutable and they are declared with keyword 'const' rather
|
||||||
than keyword 'let'.
|
than keyword 'let'.
|
||||||
Constants types must also always be annotated.
|
Constants types must also always be annotated.
|
||||||
|
|
||||||
Read more about constants under 'Differences Between Variables and Constants' in the book's section 'Variables and Mutability':
|
Read more about constants and the differences between variables and constants under 'Constants' in the book's section 'Variables and Mutability':
|
||||||
https://doc.rust-lang.org/book/ch03-01-variables-and-mutability.html#constants
|
https://doc.rust-lang.org/book/ch03-01-variables-and-mutability.html#constants
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue