Skip to content

Commit a915e0e

Browse files
committed
---
yaml --- r: 187393 b: refs/heads/try c: e61a790 h: refs/heads/master i: 187391: 56b3b57 v: v3
1 parent 5f92cf4 commit a915e0e

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
@@ -2,7 +2,7 @@
22
refs/heads/master: b4c965ee803a4521d8b4575f634e036f93e408f3
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 3a96d6a9818fe2affc98a187fb1065120458cee9
5-
refs/heads/try: 9f8a1cb38d4d6dd16291aa0fd9f19e93e5263028
5+
refs/heads/try: e61a790495f49580fc0ee831bb07e00b4750b04a
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/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)