diff options
author | Linus Färnstrand <faern@faern.net> | 2020-01-06 19:04:21 +0100 |
---|---|---|
committer | Carl Lerche <me@carllerche.com> | 2020-01-06 10:04:21 -0800 |
commit | dcfa895b512e3ed522b81b18baf3e33fd78a600c (patch) | |
tree | 67929b9cc83528a866f4d2afe8120a7a6fb2998a /tokio/src/net/unix/ucred.rs | |
parent | f0006006ed9938115011c42f26cff16842eb534f (diff) |
chore: use just std instead of ::std in paths (#2049)
Diffstat (limited to 'tokio/src/net/unix/ucred.rs')
-rw-r--r-- | tokio/src/net/unix/ucred.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tokio/src/net/unix/ucred.rs b/tokio/src/net/unix/ucred.rs index ccdf640b..cdd77ea4 100644 --- a/tokio/src/net/unix/ucred.rs +++ b/tokio/src/net/unix/ucred.rs @@ -125,10 +125,7 @@ pub(crate) mod impl_solaris { fn ucred_geteuid(cred: *const ucred_t) -> super::uid_t; fn ucred_getegid(cred: *const ucred_t) -> super::gid_t; - fn getpeerucred( - fd: ::std::os::raw::c_int, - cred: *mut *mut ucred_t, - ) -> ::std::os::raw::c_int; + fn getpeerucred(fd: std::os::raw::c_int, cred: *mut *mut ucred_t) -> std::os::raw::c_int; } pub(crate) fn get_peer_cred(sock: &UnixStream) -> io::Result<super::UCred> { |