We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This diff can be applied if the dependency requirement for rust-url is tightened to 1.0+. See #103.
diff --git a/src/http/handle.rs b/src/http/handle.rs index ac3b8b0..5d1e2d4 100644 --- a/src/http/handle.rs +++ b/src/http/handle.rs @@ -426,7 +426,7 @@ impl<'a> ToUrl for &'a str { impl<'a> ToUrl for &'a Url { fn with_url_str<F>(self, f: F) where F: FnOnce(&str) { - self.to_string().with_url_str(f); + self.as_str().with_url_str(f); } }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
This diff can be applied if the dependency requirement for rust-url is tightened to 1.0+. See #103.
The text was updated successfully, but these errors were encountered: