diff --git a/solutions/collections/String.md b/solutions/collections/String.md index f721b12..2729bc7 100644 --- a/solutions/collections/String.md +++ b/solutions/collections/String.md @@ -32,7 +32,7 @@ fn main() { } fn borrow_string(s: &str) { - println!("ownership of \"{}\" is moved here!", s) + println!("ownership of \"{}\" is still with the variable 's', only the reference is passed", s) } ``` @@ -170,4 +170,4 @@ fn main() { println!("Success!") } -``` \ No newline at end of file +```