Skip to content

Commit 073c8fd

Browse files
committed
Fix lint error
There is a lint error: this expression creates a reference which is immediately dereferenced by the compiler. Fix it as suggested by the compiler.
1 parent 01ec7a9 commit 073c8fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bitreq/src/connection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ impl AsyncConnection {
389389
}
390390

391391
#[cfg(not(feature = "proxy"))]
392-
Self::tcp_connect(&params.host, params.port).await
392+
Self::tcp_connect(params.host, params.port).await
393393
}
394394

395395
async fn timeout<O, F: Future<Output = O>>(timeout: Option<Instant>, f: F) -> Result<O, Error> {

0 commit comments

Comments
 (0)