Rust编程2026-02-05 13:50Rust的match表达式详解rustfan作者match是强大的模式匹配:match x { 1 => println!("one"), 2 => println!("two"), _ => println!("other") } 01128