Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Jul 23, 2023
1 parent 3346858 commit babc856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio-postgres/src/connect_socket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub(crate) async fn connect_socket(
.map_err(Error::connect)?;
}

return Ok(Socket::new_tcp(stream));
Ok(Socket::new_tcp(stream))
}
#[cfg(unix)]
Addr::Unix(dir) => {
Expand Down

0 comments on commit babc856

Please sign in to comment.