Skip to content

Commit 05cb8c0

Browse files
arihant2mathyouknowone
authored andcommitted
Update socket.rs
Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com>
1 parent 8d2c680 commit 05cb8c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎stdlib/src/socket.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2135,7 +2135,7 @@ mod _socket {
21352135
#[cfg(all(unix, not(target_os = "redox")))]
21362136
type IfIndex = c::c_uint;
21372137
#[cfg(windows)]
2138-
type IfIndex = u32;
2138+
type IfIndex = u32; // NET_IFINDEX but windows-sys 0.59 doesn't have it
21392139

21402140
#[cfg(not(target_os = "redox"))]
21412141
#[pyfunction]

0 commit comments

Comments
 (0)