diff options
| author | Carsten Andrich <carsten@andrich.name> | 2020-05-02 14:05:56 +0200 |
|---|---|---|
| committer | Carsten Andrich <carsten@andrich.name> | 2020-05-02 14:05:56 +0200 |
| commit | c69d6c84c7042d767e55f69ff544de0098a6042f (patch) | |
| tree | f8d73573ce2237e0254c65a34024831dab863791 | |
| parent | 86679967e3cc895d2b5ab4bb974664ff283fe043 (diff) | |
| download | rust-c69d6c84c7042d767e55f69ff544de0098a6042f.tar.gz rust-c69d6c84c7042d767e55f69ff544de0098a6042f.zip | |
fix formatting issues that fail tidy test
| -rw-r--r-- | src/libstd/sys/windows/mod.rs | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/libstd/sys/windows/mod.rs b/src/libstd/sys/windows/mod.rs index b34686d42b7..712085dbba4 100644 --- a/src/libstd/sys/windows/mod.rs +++ b/src/libstd/sys/windows/mod.rs @@ -61,22 +61,22 @@ pub fn decode_error_kind(errno: i32) -> ErrorKind { c::ERROR_FILE_NOT_FOUND => return ErrorKind::NotFound, c::ERROR_PATH_NOT_FOUND => return ErrorKind::NotFound, c::ERROR_NO_DATA => return ErrorKind::BrokenPipe, - c::ERROR_SEM_TIMEOUT | - c::WAIT_TIMEOUT | - c::ERROR_DRIVER_CANCEL_TIMEOUT | - c::ERROR_OPERATION_ABORTED | - c::ERROR_SERVICE_REQUEST_TIMEOUT | - c::ERROR_COUNTER_TIMEOUT | - c::ERROR_TIMEOUT | - c::ERROR_RESOURCE_CALL_TIMED_OUT | - c::ERROR_CTX_MODEM_RESPONSE_TIMEOUT | - c::ERROR_CTX_CLIENT_QUERY_TIMEOUT | - c::FRS_ERR_SYSVOL_POPULATE_TIMEOUT | - c::ERROR_DS_TIMELIMIT_EXCEEDED | - c::DNS_ERROR_RECORD_TIMED_OUT | - c::ERROR_IPSEC_IKE_TIMED_OUT | - c::ERROR_RUNLEVEL_SWITCH_TIMEOUT | - c::ERROR_RUNLEVEL_SWITCH_AGENT_TIMEOUT => return ErrorKind::TimedOut, + c::ERROR_SEM_TIMEOUT + | c::WAIT_TIMEOUT + | c::ERROR_DRIVER_CANCEL_TIMEOUT + | c::ERROR_OPERATION_ABORTED + | c::ERROR_SERVICE_REQUEST_TIMEOUT + | c::ERROR_COUNTER_TIMEOUT + | c::ERROR_TIMEOUT + | c::ERROR_RESOURCE_CALL_TIMED_OUT + | c::ERROR_CTX_MODEM_RESPONSE_TIMEOUT + | c::ERROR_CTX_CLIENT_QUERY_TIMEOUT + | c::FRS_ERR_SYSVOL_POPULATE_TIMEOUT + | c::ERROR_DS_TIMELIMIT_EXCEEDED + | c::DNS_ERROR_RECORD_TIMED_OUT + | c::ERROR_IPSEC_IKE_TIMED_OUT + | c::ERROR_RUNLEVEL_SWITCH_TIMEOUT + | c::ERROR_RUNLEVEL_SWITCH_AGENT_TIMEOUT => return ErrorKind::TimedOut, _ => {} } |
