面试题答案一键面试fn main() { let s = "hello world"; let new_s = s.replace('l', "x"); println!("{}", new_s); }