面试题答案
一键面试fn starts_with<'a>(first: &'a str, second: &'a str) -> &'a str {
if first.starts_with(second) {
first
} else {
second
}
}
fn starts_with<'a>(first: &'a str, second: &'a str) -> &'a str {
if first.starts_with(second) {
first
} else {
second
}
}