摘要: if let 处理只关心一种匹配而忽略其它匹配的情况 例子 fn main() { let v = Some(0u8); match v { Some(3) => println!("three"), _ => println!("others"), } if let Some(3) = v { p 阅读全文
posted @ 2022-12-15 22:45 三省吾身~ 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 正则常用用法和基本规则 https://blog.csdn.net/ZYC88888/article/details/98479629 阅读全文
posted @ 2022-12-15 14:40 三省吾身~ 阅读(10) 评论(0) 推荐(0) 编辑