mirror of https://github.com/01-edu/public.git
docs(modify_letter): specify what to do when there is an empty string or an empty letter
This commit is contained in:
parent
b587916143
commit
aaf6fed9d9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue