Skip to content

Commit 94bdb70

Browse files
authored
Add quotes
1 parent 3309a01 commit 94bdb70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/lifetimes/lifetimes1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ fn main() {
2222
let string2 = "xyz";
2323

2424
let result = longest(string1.as_str(), string2);
25-
println!("The longest string is {}", result);
25+
println!("The longest string is '{}'", result);
2626
}

0 commit comments

Comments
 (0)