Also, it would be worth mentioning that this is more efficient that just `min` and `max`, since it does 1.5 comparisions on average.

And, these 3 points could be a markdown list:

```
The return type `MinMaxResult` is an enum of three variants:
- `NoElements` is returned ...
- `OneElement(x)` is returned ...
- ...
```