From 812e3364800038d984772d1c05b2dc46c8bcc8bc Mon Sep 17 00:00:00 2001 From: eslopfer Date: Mon, 7 Nov 2022 16:23:36 +0000 Subject: [PATCH] docs(modify_letter): fix wrong syntax to refer to a char value --- subjects/modify_letter/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subjects/modify_letter/README.md b/subjects/modify_letter/README.md index 0adbfaca0..ea37f987a 100644 --- a/subjects/modify_letter/README.md +++ b/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')); } ```