File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
branches/try/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 2
2
refs/heads/master: b4c965ee803a4521d8b4575f634e036f93e408f3
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 3a96d6a9818fe2affc98a187fb1065120458cee9
5
- refs/heads/try: 9f8a1cb38d4d6dd16291aa0fd9f19e93e5263028
5
+ refs/heads/try: e61a790495f49580fc0ee831bb07e00b4750b04a
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
8
8
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
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