Add quotes

This commit is contained in:
Magnus Markling 2022-08-28 15:10:29 +02:00 committed by GitHub
parent 3309a01b5e
commit 94bdb708fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,5 +22,5 @@ fn main() {
let string2 = "xyz"; let string2 = "xyz";
let result = longest(string1.as_str(), string2); let result = longest(string1.as_str(), string2);
println!("The longest string is {}", result); println!("The longest string is '{}'", result);
} }