diff options
author | Richard Walters <rwalters@digitalstirling.com> | 2020-10-12 16:41:12 -0700 |
---|---|---|
committer | Richard Walters <rwalters@digitalstirling.com> | 2020-10-12 16:41:12 -0700 |
commit | b68b1c75b48c34d791cece146105e3422ce62bd1 (patch) | |
tree | 4810545fcaa52644105854613abcc440122bc5a9 /src/Uri.cpp | |
parent | f95959559ba8fc6ad5d2f9d193d431128864693b (diff) |
Rust refactoring
* Use Into trait for setters to accept input.
* Make input to Uri::check_scheme more flexible.
* Rewrite Uri::set_path_from_str to use match so as
not to shadow path, and no need for 'a lifetime.
* Rewrite Uri::set_scheme to use match.
Diffstat (limited to 'src/Uri.cpp')
0 files changed, 0 insertions, 0 deletions