Skip to content

Commit c69d6c8

Browse files
fix formatting issues that fail tidy test
1 parent 8667996 commit c69d6c8

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

src/libstd/sys/windows/mod.rs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -61,22 +61,22 @@ pub fn decode_error_kind(errno: i32) -> ErrorKind {
6161
c::ERROR_FILE_NOT_FOUND => return ErrorKind::NotFound,
6262
c::ERROR_PATH_NOT_FOUND => return ErrorKind::NotFound,
6363
c::ERROR_NO_DATA => return ErrorKind::BrokenPipe,
64-
c::ERROR_SEM_TIMEOUT |
65-
c::WAIT_TIMEOUT |
66-
c::ERROR_DRIVER_CANCEL_TIMEOUT |
67-
c::ERROR_OPERATION_ABORTED |
68-
c::ERROR_SERVICE_REQUEST_TIMEOUT |
69-
c::ERROR_COUNTER_TIMEOUT |
70-
c::ERROR_TIMEOUT |
71-
c::ERROR_RESOURCE_CALL_TIMED_OUT |
72-
c::ERROR_CTX_MODEM_RESPONSE_TIMEOUT |
73-
c::ERROR_CTX_CLIENT_QUERY_TIMEOUT |
74-
c::FRS_ERR_SYSVOL_POPULATE_TIMEOUT |
75-
c::ERROR_DS_TIMELIMIT_EXCEEDED |
76-
c::DNS_ERROR_RECORD_TIMED_OUT |
77-
c::ERROR_IPSEC_IKE_TIMED_OUT |
78-
c::ERROR_RUNLEVEL_SWITCH_TIMEOUT |
79-
c::ERROR_RUNLEVEL_SWITCH_AGENT_TIMEOUT => return ErrorKind::TimedOut,
64+
c::ERROR_SEM_TIMEOUT
65+
| c::WAIT_TIMEOUT
66+
| c::ERROR_DRIVER_CANCEL_TIMEOUT
67+
| c::ERROR_OPERATION_ABORTED
68+
| c::ERROR_SERVICE_REQUEST_TIMEOUT
69+
| c::ERROR_COUNTER_TIMEOUT
70+
| c::ERROR_TIMEOUT
71+
| c::ERROR_RESOURCE_CALL_TIMED_OUT
72+
| c::ERROR_CTX_MODEM_RESPONSE_TIMEOUT
73+
| c::ERROR_CTX_CLIENT_QUERY_TIMEOUT
74+
| c::FRS_ERR_SYSVOL_POPULATE_TIMEOUT
75+
| c::ERROR_DS_TIMELIMIT_EXCEEDED
76+
| c::DNS_ERROR_RECORD_TIMED_OUT
77+
| c::ERROR_IPSEC_IKE_TIMED_OUT
78+
| c::ERROR_RUNLEVEL_SWITCH_TIMEOUT
79+
| c::ERROR_RUNLEVEL_SWITCH_AGENT_TIMEOUT => return ErrorKind::TimedOut,
8080
_ => {}
8181
}
8282

0 commit comments

Comments
 (0)