Add quotes

This commit is contained in:
Magnus Markling 2022-08-28 15:12:15 +02:00 committed by GitHub
parent 94bdb708fe
commit 291da61fda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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