mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-25 00:00:05 +03:00
Merge pull request #1171 from memark/patch-1
Add quotes for readability of output
This commit is contained in:
commit
199150fda2
|
@ -22,5 +22,5 @@ fn main() {
|
|||
let string2 = "xyz";
|
||||
|
||||
let result = longest(string1.as_str(), string2);
|
||||
println!("The longest string is {}", result);
|
||||
println!("The longest string is '{}'", result);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue