We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94bdb70 commit 291da61Copy full SHA for 291da61
exercises/lifetimes/lifetimes2.rs
@@ -23,5 +23,5 @@ fn main() {
23
let string2 = String::from("xyz");
24
result = longest(string1.as_str(), string2.as_str());
25
}
26
- println!("The longest string is {}", result);
+ println!("The longest string is '{}'", result);
27
0 commit comments