Skip to content

Commit c86360f

Browse files
tomgrbzthomasgrbic
andauthored
Remove array/slice syntax from argument &mut str in TODO comment for lowercase func (mainmatter#99)
Co-authored-by: thomasgrbic <[email protected]>
1 parent 056611a commit c86360f

File tree

1 file changed

+1
-1
lines changed
  • exercises/06_ticket_management/11_mutable_slices/src

1 file changed

+1
-1
lines changed

exercises/06_ticket_management/11_mutable_slices/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// TODO: Define a function named `lowercase` that converts all characters in a string to lowercase,
22
// modifying the input in place.
3-
// Does it need to take a `&mut String`? Does a `&mut [str]` work? Why or why not?
3+
// Does it need to take a `&mut String`? Does a `&mut str` work? Why or why not?
44

55
#[cfg(test)]
66
mod tests {

0 commit comments

Comments
 (0)