mirror of
https://github.com/rust-lang/rustlings
synced 2024-11-05 00:00:12 +00:00
Merge pull request #1 from Sowed/then-to-than-docs-patch
fix: Change then to than
This commit is contained in:
commit
b636825de3
@ -64,7 +64,7 @@ hint = """
|
|||||||
We know about variables and mutability, but there is another important type of
|
We know about variables and mutability, but there is another important type of
|
||||||
variable available; constants.
|
variable available; constants.
|
||||||
Constants are always immutable and they are declared with keyword 'const' rather
|
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.
|
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 under 'Differences Between Variables and Constants' in the book's section 'Variables and Mutability':
|
||||||
|
Loading…
Reference in New Issue
Block a user