diff options
| author | Magnus Markling <magnus@markling.com> | 2022-08-28 15:10:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-28 15:10:29 +0200 |
| commit | 94bdb708fee17b6a87097cfbbcd697322c7a2141 (patch) | |
| tree | 39bb70d249b51ace0a8af36b0108aa829d303772 | |
| parent | 3309a01b5e7f18da6409435151e8ebe0c0a697dc (diff) | |
Add quotes
| -rw-r--r-- | exercises/lifetimes/lifetimes1.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/lifetimes/lifetimes1.rs b/exercises/lifetimes/lifetimes1.rs index 58e995c..0236470 100644 --- a/exercises/lifetimes/lifetimes1.rs +++ b/exercises/lifetimes/lifetimes1.rs @@ -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); } |
