1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-11-08 09:09:17 +01:00

Add quotes

This commit is contained in:
Magnus Markling 2022-08-28 15:12:15 +02:00 committed by GitHub
parent 94bdb708fe
commit 291da61fda
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -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);
}