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:
parent
056611ac1c
commit
c86360f3c4
|
@ -1,6 +1,6 @@
|
||||||
// TODO: Define a function named `lowercase` that converts all characters in a string to lowercase,
|
// TODO: Define a function named `lowercase` that converts all characters in a string to lowercase,
|
||||||
// modifying the input in place.
|
// 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)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
|
|
Loading…
Reference in New Issue