Skip to content

Commit

Permalink
Fix for lint
Browse files Browse the repository at this point in the history
  • Loading branch information
john-sharratt authored and theduke committed Jun 12, 2024
1 parent c9bc2f2 commit 6dda996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wasix/src/net/socket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1370,7 +1370,7 @@ impl InodeSocket {
is_dead, peer_addr, ..
} => {
return match is_dead {
true => Poll::Ready(Ok((0, peer_addr.clone()))),
true => Poll::Ready(Ok((0, *peer_addr))),
false => Poll::Pending,
};
}
Expand Down

0 comments on commit 6dda996

Please sign in to comment.