Add quotes
This commit is contained in:
parent
3309a01b5e
commit
94bdb708fe
@ -22,5 +22,5 @@ fn main() {
|
|||||||
let string2 = "xyz";
|
let string2 = "xyz";
|
||||||
|
|
||||||
let result = longest(string1.as_str(), string2);
|
let result = longest(string1.as_str(), string2);
|
||||||
println!("The longest string is {}", result);
|
println!("The longest string is '{}'", result);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user