aboutsummaryrefslogtreecommitdiff
path: root/src/validate_ipv4_address.rs
diff options
context:
space:
mode:
authorRichard Walters <rwalters@digitalstirling.com>2020-10-12 16:41:12 -0700
committerRichard Walters <rwalters@digitalstirling.com>2020-10-12 16:41:12 -0700
commitb68b1c75b48c34d791cece146105e3422ce62bd1 (patch)
tree4810545fcaa52644105854613abcc440122bc5a9 /src/validate_ipv4_address.rs
parentf95959559ba8fc6ad5d2f9d193d431128864693b (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/validate_ipv4_address.rs')
0 files changed, 0 insertions, 0 deletions