updated variable name in hint

This commit is contained in:
Jan Arends 2024-07-10 11:16:35 +02:00
parent c793416495
commit b12b652a57

View file

@ -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.