let mut s = String::new(); // 空字符串 s.push_str("hello"); let s = String::from("hello"); // 从字符串字面量创建 let s = "hello".to_string(); // 等价写法