diff options
| author | Magnus Markling <magnus@markling.com> | 2022-08-28 15:12:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-28 15:12:15 +0200 |
| commit | 291da61fda51c4bbb43e48997ede007b9f3a0251 (patch) | |
| tree | 11dc3b824030afe0beb8fe15dad96f58969a3c56 | |
| parent | 94bdb708fee17b6a87097cfbbcd697322c7a2141 (diff) | |
Add quotes
| -rw-r--r-- | exercises/lifetimes/lifetimes2.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/lifetimes/lifetimes2.rs b/exercises/lifetimes/lifetimes2.rs index c73a28a..b48feab 100644 --- a/exercises/lifetimes/lifetimes2.rs +++ b/exercises/lifetimes/lifetimes2.rs @@ -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); } |
