Fix warnings

This commit is contained in:
Steven Fackler
2017-02-15 21:48:38 -08:00
parent c59799e376
commit 126d80003c
3 changed files with 2 additions and 3 deletions

View File

@@ -168,7 +168,7 @@ impl IntoConnectParams for String {
impl IntoConnectParams for Url {
fn into_connect_params(self) -> Result<ConnectParams, Box<Error + Sync + Send>> {
let Url { host, port, user, path: url::Path { mut path, query: options, .. }, .. } = self;
let Url { host, port, user, path: url::Path { path, query: options, .. }, .. } = self;
let mut builder = ConnectParams::builder();