diff --git a/exercises/09_strings/strings4.rs b/exercises/09_strings/strings4.rs index 9d9eb48..4730726 100644 --- a/exercises/09_strings/strings4.rs +++ b/exercises/09_strings/strings4.rs @@ -4,6 +4,7 @@ fn placeholder() {} fn string_slice(arg: &str) { println!("{arg}"); } + fn string(arg: String) { println!("{arg}"); }