option_result.rs
Rust•上級
Explorer
C40
C++40
C#40
Dart40
Go40
Java40
JavaScript40
Kotlin40
Objective-C40
Perl40
PHP40
Python40
R40
Ruby40
Rust
初級10
中級10
上級10
option_result.rs
error_handling.rs
pattern_match.rs
iterator_chain.rs
lifetime_generic.rs
trait_impl.rs
closure_move.rs
async_await.rs
macro_rules.rs
ref_deref.rs
エキスパート5
マスター5
Shell40
Swift40
TypeScript40
option_result.rs
Click to focus
1
2
3
4
5
fn get_user(id: u32) -> Option<User> {↵
users.iter()↵
.find(|u| u.id == id)↵
.cloned()↵
}
0WPM•0%•0:00•0/102(0%)|Ln 1, Col 1
UTF-8•Rust