diff options
Diffstat (limited to 'library/std/src/net/tcp')
| -rw-r--r-- | library/std/src/net/tcp/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/net/tcp/tests.rs b/library/std/src/net/tcp/tests.rs index abe9bc24cec..a664a335462 100644 --- a/library/std/src/net/tcp/tests.rs +++ b/library/std/src/net/tcp/tests.rs @@ -342,7 +342,7 @@ fn double_bind() { Err(e) => { assert!( e.kind() == ErrorKind::ConnectionRefused - || e.kind() == ErrorKind::Other + || e.kind() == ErrorKind::Unknown || e.kind() == ErrorKind::AddrInUse, "unknown error: {} {:?}", e, |
