From b12b652a57d1e207bef4538e890ddd0ff7ed0a78 Mon Sep 17 00:00:00 2001 From: Jan Arends Date: Wed, 10 Jul 2024 11:16:35 +0200 Subject: [PATCH] updated variable name in hint --- rustlings-macros/info.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rustlings-macros/info.toml b/rustlings-macros/info.toml index a3007c9c..67d50e63 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.