From c86360f3c4057616b56e4d3b9940d91bcffcb8a3 Mon Sep 17 00:00:00 2001 From: tomgrbz <62816199+tomgrbz@users.noreply.github.com> Date: Thu, 20 Jun 2024 04:18:55 -0400 Subject: [PATCH] Remove array/slice syntax from argument &mut str in TODO comment for lowercase func (#99) Co-authored-by: thomasgrbic --- exercises/06_ticket_management/11_mutable_slices/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/06_ticket_management/11_mutable_slices/src/lib.rs b/exercises/06_ticket_management/11_mutable_slices/src/lib.rs index 1604a91..9fc8155 100644 --- a/exercises/06_ticket_management/11_mutable_slices/src/lib.rs +++ b/exercises/06_ticket_management/11_mutable_slices/src/lib.rs @@ -1,6 +1,6 @@ // TODO: Define a function named `lowercase` that converts all characters in a string to lowercase, // modifying the input in place. -// Does it need to take a `&mut String`? Does a `&mut [str]` work? Why or why not? +// Does it need to take a `&mut String`? Does a `&mut str` work? Why or why not? #[cfg(test)] mod tests { -- 2.45.2