Rust Never Type
In Rust, we can return a ! type to indicate a function never returns:
fn abort() -> ! { /* do something */ }Related
Reference
tags: Rust
In Rust, we can return a ! type to indicate a function never returns:
fn abort() -> ! { /* do something */ }tags: Rust