Closed mkindahl closed 3 years ago
When building a URI, it is not possible to provide neither String nor &String, which is useful when adding a path_and_query from a string built using format!.
This commit adds implementation of From and From<&String> for PathAndQuery.
Unsure about the procedure for contributing a patch. Please advise.
When building a URI, it is not possible to provide neither String nor &String, which is useful when adding a path_and_query from a string built using format!.
This commit adds implementation of From and From<&String> for
PathAndQuery.