Merge pull request #2037 from jaads/fix-iterators-2-hint

Updated name of variable name in hint
This commit is contained in:
Mo 2024-07-10 11:33:45 +02:00 committed by GitHub
commit a38029e3e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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.