mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 15:26:29 +00:00
Merge pull request #2037 from jaads/fix-iterators-2-hint
Updated name of variable name in hint
This commit is contained in:
commit
a38029e3e7
1 changed files with 2 additions and 2 deletions
|
@ -890,9 +890,9 @@ hint = """
|
||||||
`capitalize_first`:
|
`capitalize_first`:
|
||||||
|
|
||||||
The variable `first` is a `char`. It needs to be capitalized and added to the
|
The variable `first` is a `char`. It needs to be capitalized and added to the
|
||||||
remaining characters in `c` in order to return the correct `String`.
|
remaining characters in `chars` in order to return the correct `String`.
|
||||||
|
|
||||||
The remaining characters in `c` can be viewed as a string slice using the
|
The remaining characters in `chars` can be viewed as a string slice using the
|
||||||
`as_str` method.
|
`as_str` method.
|
||||||
|
|
||||||
The documentation for `char` contains many useful methods.
|
The documentation for `char` contains many useful methods.
|
||||||
|
|
Loading…
Reference in a new issue