mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-29 00:00:11 +02:00
net: make UCred fields private (#2936)
This commit is contained in:
@@ -25,6 +25,6 @@ async fn test_socket_pair() {
|
||||
let uid = unsafe { geteuid() };
|
||||
let gid = unsafe { getegid() };
|
||||
|
||||
assert_eq!(cred_a.uid, uid);
|
||||
assert_eq!(cred_a.gid, gid);
|
||||
assert_eq!(cred_a.uid(), uid);
|
||||
assert_eq!(cred_a.gid(), gid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user