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 ccd3c45 commit 8058bd3Copy full SHA for 8058bd3
src/lib.rs
@@ -174,7 +174,7 @@ impl IntoConnectParams for Url {
174
175
#[cfg(feature = "unix_socket")]
176
fn make_unix(maybe_path: String) -> result::Result<ConnectTarget, ConnectError> {
177
- Ok(ConnectTarget::Unix(PathBuf::from(&maybe_path)))
+ Ok(ConnectTarget::Unix(PathBuf::from(maybe_path)))
178
}
179
#[cfg(not(feature = "unix_socket"))]
180
fn make_unix(_: String) -> result::Result<ConnectTarget, ConnectError> {
0 commit comments