Skip to content

Commit 17ce6ec

Browse files
committed
fix ci
1 parent e30ab2f commit 17ce6ec

File tree

1 file changed

+1
-1
lines changed
  • library/std/src/os/windows/net

1 file changed

+1
-1
lines changed

library/std/src/os/windows/net/addr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub fn sockaddr_un(path: &Path) -> io::Result<(c::sockaddr_un, c_int)> {
4242
Ok((addr, len as _))
4343
}
4444
fn sun_path_offset(addr: &c::sockaddr_un) -> usize {
45-
offset_of!(c::sockaddr_un, addr.sun_path)
45+
offset_of!(c::sockaddr_un, sun_path)
4646
}
4747
#[allow(dead_code)]
4848
pub struct SocketAddr {

0 commit comments

Comments
 (0)