Skip to content

Commit

Permalink
Cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
quexten committed Feb 9, 2025
1 parent 6eabe87 commit 2759fc8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ impl Stream for PeercredUnixListenerStream {
let pid = match stream.peer_cred() {
Ok(peer) => match peer.pid() {
Some(pid) => pid,
None => {
None => {
return Poll::Ready(Some(Ok((stream, PeerInfo::default()))));
},
}
},
Err(_) => {
return Poll::Ready(Some(Ok((stream, PeerInfo::default()))));
},
}
};
let peer_info = peerinfo::gather::get_peer_info(pid as u32);
match peer_info {
Expand Down

0 comments on commit 2759fc8

Please sign in to comment.