Merge pull request #300 from wxchenpro/master

solution: Add a new solution for functions case
This commit is contained in:
Sunface 2022-08-22 09:06:39 +08:00 committed by GitHub
commit cabba76951
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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() -> ! {