docs(modify_letter): specify what to do when there is an empty string or an empty letter

This commit is contained in:
eslopfer 2022-11-07 19:14:41 +00:00
parent b587916143
commit aaf6fed9d9
1 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,10 @@ Create a **function** `remove_letter_insensitive` that returns a string without
Create a **function** `swap_letter_case` that returns a string swapping the case for the chosen letter.
If there is an empty character in the arguments, the function should return the string as being passed.
If there is an empty string, it should return an empty string.
### Expected Functions
```rust