Skip to content

Commit 291da61

Browse files
authored
Add quotes
1 parent 94bdb70 commit 291da61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/lifetimes/lifetimes2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ fn main() {
2323
let string2 = String::from("xyz");
2424
result = longest(string1.as_str(), string2.as_str());
2525
}
26-
println!("The longest string is {}", result);
26+
println!("The longest string is '{}'", result);
2727
}

0 commit comments

Comments
 (0)