mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-06 18:13:29 +02:00
Add quotes
This commit is contained in:
co-authored by
GitHub
parent
94bdb708fe
commit
291da61fda
@@ -23,5 +23,5 @@ fn main() {
|
|||||||
let string2 = String::from("xyz");
|
let string2 = String::from("xyz");
|
||||||
result = longest(string1.as_str(), string2.as_str());
|
result = longest(string1.as_str(), string2.as_str());
|
||||||
}
|
}
|
||||||
println!("The longest string is {}", result);
|
println!("The longest string is '{}'", result);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user