📜  rustlang 字符串 - Rust 代码示例

📅  最后修改于: 2022-03-11 14:49:24.806000             🧑  作者: Mango

代码示例1
let mut hello = String::from("Hello, ");

hello.push('w');
hello.push_str("orld!");