diff options
| author | Jan Arends <jan.arends@mailbox.org> | 2024-07-10 11:16:35 +0200 |
|---|---|---|
| committer | Jan Arends <jan.arends@mailbox.org> | 2024-07-10 11:16:35 +0200 |
| commit | b12b652a57d1e207bef4538e890ddd0ff7ed0a78 (patch) | |
| tree | 5020ae17ac1d6da7a52d3bc8a87d431c9edac795 /rustlings-macros/info.toml | |
| parent | c793416495b3e015cbd4fb5ea23070aad8611614 (diff) | |
updated variable name in hint
Diffstat (limited to 'rustlings-macros/info.toml')
| -rw-r--r-- | rustlings-macros/info.toml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml index a3007c9..67d50e6 100644 --- a/rustlings-macros/info.toml +++ b/rustlings-macros/info.toml @@ -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. |
