Skip to content

Commit

Permalink
remove uneeded commas
Browse files Browse the repository at this point in the history
  • Loading branch information
Fancy2209 committed Dec 17, 2024
1 parent 4e9a894 commit 07bf080
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tokio/src/net/tcp/socket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ impl TcpSocket {
target_os = "illumos",
target_os = "linux",
target_os = "netbsd",
target_os = "openbsd",
target_os = "openbsd"
))]
let ty = ty.nonblocking();
let inner = socket2::Socket::new(domain, ty, Some(socket2::Protocol::TCP))?;
Expand All @@ -179,7 +179,7 @@ impl TcpSocket {
target_os = "illumos",
target_os = "linux",
target_os = "netbsd",
target_os = "openbsd",
target_os = "openbsd"
)))]
inner.set_nonblocking(true)?;
Ok(TcpSocket { inner })
Expand Down

0 comments on commit 07bf080

Please sign in to comment.