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

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() -> ! {