mirror of
https://github.com/notohh/rustlings.git
synced 2024-10-30 08:49:12 -04:00
updated variable name in hint
This commit is contained in:
parent
c793416495
commit
b12b652a57
1 changed files with 2 additions and 2 deletions
|
@ -890,9 +890,9 @@ hint = """
|
|||
`capitalize_first`:
|
||||
|
||||
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.
|
||||
|
||||
The documentation for `char` contains many useful methods.
|
||||
|
|
Loading…
Reference in a new issue