首页
Programming Q&A
登录
标签
rustWhy do I not need asref() to
rust - Why do I not need .as_ref() to match on a &Option<T> type? - Stack Overflow
The below code works (getting same output) without the usage of as_ref().struct A {a: Option<i32>
rustWhy do I not need asref() to match on a ampOptionltTgt typeStack Overflow
admin
18天前
3
0