Remove array/slice syntax from argument &mut str in TODO comment for lowercase func (#99)

Co-authored-by: thomasgrbic <grbic.t@northeastern.edu>
This commit is contained in:
tomgrbz
2024-06-20 04:18:55 -04:00
committed by GitHub
parent 056611ac1c
commit c86360f3c4

View File

@@ -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 {