Skip to content

Commit fd2215b

Browse files
committed
---
yaml --- r: 187815 b: refs/heads/tmp c: e61a790 h: refs/heads/master i: 187813: 1a65879 187811: d27f02d 187807: 35b2547 v: v3
1 parent 85064f0 commit fd2215b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3434
refs/heads/beta: 522d09dfecbeca1595f25ac58c6d0178bbd21d7d
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3636
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37-
refs/heads/tmp: 9f8a1cb38d4d6dd16291aa0fd9f19e93e5263028
37+
refs/heads/tmp: e61a790495f49580fc0ee831bb07e00b4750b04a
3838
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

branches/tmp/src/libstd/sys/windows/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ pub fn set_nonblocking(fd: sock_t, nb: bool) {
198198
if unsafe { c::ioctlsocket(fd, c::FIONBIO, &mut set) } != 0 {
199199
// The above function should not return an error unless we passed it
200200
// invalid parameters. Panic on errors.
201-
Err(last_error()).unwrap();
201+
panic!("set_nonblocking called with invalid parameters: {}", last_error());
202202
}
203203
}
204204

0 commit comments

Comments
 (0)