diff --git a/solutions/09_strings/strings4.rs b/solutions/09_strings/strings4.rs index 9dc6917..fe4733e 100644 --- a/solutions/09_strings/strings4.rs +++ b/solutions/09_strings/strings4.rs @@ -1,6 +1,7 @@ fn string_slice(arg: &str) { println!("{arg}"); } + fn string(arg: String) { println!("{arg}"); }