Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parts of the `Uri` that now have specific types meant that several methods were deprecated, such as `Uri::scheme()` for `Uri::scheme_part()`. This means that many use-cases have extra `map`ping code to get the original value. This adds convenience getters to reduce the need to map when the actual type is not needed: - `scheme_str` - `port_u16`
- Loading branch information
1 parent
5018e48
commit 4644dae
Showing
2 changed files
with
54 additions
and
8 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
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