Browse Source

docs(modify_letter): fix wrong syntax to refer to a char value

pull/1573/head
eslopfer 2 years ago
parent
commit
812e336480
  1. 6
      subjects/modify_letter/README.md

6
subjects/modify_letter/README.md

@ -29,9 +29,9 @@ Here is a program to test your functions.
use modify_letter::*modify_letter*;
fn main() {
println!("{}", remove_letter_sensitive("Joje jis mijssjing", "j"));
println!("{}", remove_letter_insensitive("jaillA ais swiaAmmingA", "A"));
println!("{}", swap_letter_case("hEllo therE", "e"));
println!("{}", remove_letter_sensitive("Joje jis mijssjing", 'j'));
println!("{}", remove_letter_insensitive("jaillA ais swiaAmmingA", 'A'));
println!("{}", swap_letter_case("hEllo therE", 'e'));
}
```

Loading…
Cancel
Save