Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(iroh-base)!: No Result for creating new NodeTicket (#2771)
## Description There is no need for this to have a Result. Also there's a From impl anyway. So clean this up. ## Breaking Changes `NodeTicket::new` no longer returns `Result` but always succeeds (as it already did). This matches it's `From<NodeAddr>` impl which also never fails. ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> ## Change checklist - [x] Self-review. - ~~[ ] 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.~~ - ~~[ ] Tests if relevant.~~ - ~~[ ] All breaking changes documented.~~
- Loading branch information