We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d361418 commit 99d5573Copy full SHA for 99d5573
src/conn.rs
@@ -64,8 +64,8 @@ impl Connection {
64
}
65
66
/// Create a new connection based on the given URL.
67
- pub fn connect_url(url: impl AsRef<str>) -> ConnectResult<Connection> {
68
- let parms = Parameters::from_url(url.as_ref())?;
+ pub fn connect_url(url: &str) -> ConnectResult<Connection> {
+ let parms = Parameters::from_url(url)?;
69
Self::new(parms)
70
71
0 commit comments