diff options
| author | LinkTed <LinkTed@users.noreply.github.com> | 2020-09-16 20:30:59 +0200 |
|---|---|---|
| committer | LinkTed <LinkTed@users.noreply.github.com> | 2020-10-10 15:19:12 +0200 |
| commit | 1902711f3867753cb2682043c283ffa4a70a317c (patch) | |
| tree | 3b68a101e7778522d71f8455aee1040655dbc7d6 /library/std/src/sys/unix/ext/net/tests.rs | |
| parent | eeea5c23b494782bf6a864005684d3405f5c062b (diff) | |
| download | rust-1902711f3867753cb2682043c283ffa4a70a317c.tar.gz rust-1902711f3867753cb2682043c283ffa4a70a317c.zip | |
Change name of struct to SocketCred
Diffstat (limited to 'library/std/src/sys/unix/ext/net/tests.rs')
| -rw-r--r-- | library/std/src/sys/unix/ext/net/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/ext/net/tests.rs b/library/std/src/sys/unix/ext/net/tests.rs index db6a972e7d2..16915a4cc1e 100644 --- a/library/std/src/sys/unix/ext/net/tests.rs +++ b/library/std/src/sys/unix/ext/net/tests.rs @@ -519,7 +519,7 @@ fn test_send_vectored_with_ancillary_to_unix_datagram() { let mut ancillary1_buffer = [0; 128]; let mut ancillary1 = SocketAncillary::new(&mut ancillary1_buffer[..]); - let mut cred1 = UCred::new(); + let mut cred1 = SocketCred::new(); cred1.set_pid(getpid()); cred1.set_uid(getuid()); cred1.set_gid(getgid()); |
