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
|
@ -84,7 +84,7 @@ Constants are always immutable and they are declared with keyword 'const' rather
|
|||
than keyword 'let'.
|
||||
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
|
||||
"""
|
||||
|
||||
|
|
Loading…
Reference in New Issue