Skip to content

Commit

Permalink
Merge pull request #1853 from ruanswanepoel/patch-1
Browse files Browse the repository at this point in the history
Update paragraph in src/fn/diverging.md
  • Loading branch information
marioidival committed Jun 30, 2024
2 parents 48ddc5a + a813cde commit d7fe070
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/fn/diverging.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ fn main() {
}
```

Although this might seem like an abstract concept, it is in fact very useful and
often handy. The main advantage of this type is that it can be cast to any other
one and therefore used at places where an exact type is required, for instance
in `match` branches. This allows us to write code like this:
Although this might seem like an abstract concept, it is actually very useful and
often handy. The main advantage of this type is that it can be cast to any other
type, making it versatile in situations where an exact type is required, such as
in match branches. This flexibility allows us to write code like this:

```rust
fn main() {
Expand Down

0 comments on commit d7fe070

Please sign in to comment.