-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Domain struct, replace bytes_are_domain
Since it's expected to do many operation on individual labels, a `Domain` representation is needed. And, since there's a struct now, the standalone `bytes_are_domain` function is replaced with a `try_from` trait implementation.
- Loading branch information
1 parent
9eb3d66
commit 665bc6d
Showing
3 changed files
with
75 additions
and
18 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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