mirror of
https://github.com/mainmatter/100-exercises-to-learn-rust
synced 2024-11-16 19:50:44 +01:00
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 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue