mirror of
https://github.com/notohh/rustlings.git
synced 2024-12-26 20:18:08 -05:00
Merge pull request #458 from Sowed/main
This commit is contained in:
commit
b32a666541
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ hint = """
|
|||
We know about variables and mutability, but there is another important type of
|
||||
variable available; constants.
|
||||
Constants are always immutable and they are declared with keyword 'const' rather
|
||||
then keyword 'let'.
|
||||
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':
|
||||
|
|
Loading…
Reference in a new issue