Option在Rust里是干嘛的

提问

Option在Rust里是干嘛的

回答

避免Rust语言中出现null; 将类型封装为Some(T) 和 None;

posted @ 2024-07-08 08:49  喜爱糖葫芦  阅读(1)  评论(0编辑  收藏  举报