solution: Add a new solution for functions case

This commit is contained in:
chenpro 2022-08-14 23:13:44 +08:00
parent d334367182
commit e15544e90e
1 changed files with 7 additions and 0 deletions

View File

@ -92,6 +92,13 @@ fn never_return_fn() -> ! {
}
```
```rust
// IMPLEMENT this function in THREE ways
fn never_return_fn() -> ! {
todo!();
}
```
```rust
// IMPLEMENT this function in THREE ways
fn never_return_fn() -> ! {