Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Nov 1, 2023
1 parent 4cc830a commit 9bf35d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/test-programs/src/bin/preview2_tcp_bind.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ fn test_tcp_bind_specific_port(net: &Network, ip: IpAddress) {
assert_eq!(bind_addr.ip(), bound_addr.ip());
assert_eq!(bind_addr.port(), bound_addr.port());
}
// Concurrent invocations of this test can yield `AddressInUse` and that
// same error can show up on Windows as `AccessDenied`.
Err(ErrorCode::AddressInUse | ErrorCode::AccessDenied) => {}
Err(e) => panic!("error: {e}"),
}
Expand Down

0 comments on commit 9bf35d5

Please sign in to comment.