File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
branches/tmp/src/libstd/sys/windows Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,5 +34,5 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34
34
refs/heads/beta: 522d09dfecbeca1595f25ac58c6d0178bbd21d7d
35
35
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
36
36
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37
- refs/heads/tmp: 9f8a1cb38d4d6dd16291aa0fd9f19e93e5263028
37
+ refs/heads/tmp: e61a790495f49580fc0ee831bb07e00b4750b04a
38
38
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ pub fn set_nonblocking(fd: sock_t, nb: bool) {
198
198
if unsafe { c:: ioctlsocket ( fd, c:: FIONBIO , & mut set) } != 0 {
199
199
// The above function should not return an error unless we passed it
200
200
// invalid parameters. Panic on errors.
201
- Err ( last_error ( ) ) . unwrap ( ) ;
201
+ panic ! ( "set_nonblocking called with invalid parameters: {}" , last_error( ) ) ;
202
202
}
203
203
}
204
204
You can’t perform that action at this time.
0 commit comments