mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-27 15:56:28 +00:00
chore: Tweak punctuation in variables6.rs hint
While the meaning is still obvious as is, it makes a little more sense to use a colon here =)
This commit is contained in:
parent
9688609d08
commit
b3ec8fe022
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ path = "exercises/variables/variables6.rs"
|
||||||
mode = "compile"
|
mode = "compile"
|
||||||
hint = """
|
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
|
||||||
than keyword 'let'.
|
than keyword 'let'.
|
||||||
Constants types must also always be annotated.
|
Constants types must also always be annotated.
|
||||||
|
|
Loading…
Reference in a new issue