摘要: fn main() { // 1. 创建字符串 let s1 = String::new(); let s2 = String::with_capacity(100); let s3 = String::from("hello"); let s4 = "RUST".to_string(); let 阅读全文
posted @ 2025-12-12 17:32 店里最会撒谎白玉汤 阅读(4) 评论(0) 推荐(0)