Skip to content

Commit 0474168

Browse files
authored
Remove outdated tip about handling division by zero (#2393)
The exercise text already asks you to handle this.
1 parent 0a9a01d commit 0474168

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/pattern-matching/exercise.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ get the tests to pass one-by-one. You can also skip a test temporarily with
2727
fn test_value() { .. }
2828
```
2929

30-
If you finish early, try writing a test that results in division by zero or
31-
integer overflow. How could you handle this with `Result` instead of a panic?
32-
3330
```rust
3431
{{#include exercise.rs:Operation}}
3532

0 commit comments

Comments
 (0)