-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref(iroh-net): Don't write the match as fully exhaustive (#2585)
## Description This makes it a bit earier to read. It's harder to figure out if thre are changes to the ConnectionType though, but let's assume that doesn't happen too often. ## Breaking Changes None ## Notes & open questions I'm open to other ways of structuring this code. Not entirely sure what the best shape would be. ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented.
- Loading branch information
Showing
1 changed file
with
15 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters