let s = String::from("hello"); let c = s.chars().nth(1); // 获取第 2 个字符,返回 Option println!("{:?}", c); // 输出:Some('e')