Add quotes
This commit is contained in:
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