@@ -210,7 +210,7 @@ fn cloning3() {
210
210
let mut h2 = s. handle ( & rx2) ;
211
211
unsafe { h2. add ( ) ; }
212
212
unsafe { h1. add ( ) ; }
213
- assert_eq ! ( s. wait( ) , h2. id) ;
213
+ assert_eq ! ( s. wait( ) , h2. id( ) ) ;
214
214
tx3. send ( ( ) ) . unwrap ( ) ;
215
215
} ) ;
216
216
@@ -256,7 +256,7 @@ fn preflight4() {
256
256
let s = Select :: new ( ) ;
257
257
let mut h = s. handle ( & rx) ;
258
258
unsafe { h. add ( ) ; }
259
- assert_eq ! ( s. wait2( false ) , h. id) ;
259
+ assert_eq ! ( s. wait2( false ) , h. id( ) ) ;
260
260
}
261
261
262
262
#[ test]
@@ -267,7 +267,7 @@ fn preflight5() {
267
267
let s = Select :: new ( ) ;
268
268
let mut h = s. handle ( & rx) ;
269
269
unsafe { h. add ( ) ; }
270
- assert_eq ! ( s. wait2( false ) , h. id) ;
270
+ assert_eq ! ( s. wait2( false ) , h. id( ) ) ;
271
271
}
272
272
273
273
#[ test]
@@ -278,7 +278,7 @@ fn preflight6() {
278
278
let s = Select :: new ( ) ;
279
279
let mut h = s. handle ( & rx) ;
280
280
unsafe { h. add ( ) ; }
281
- assert_eq ! ( s. wait2( false ) , h. id) ;
281
+ assert_eq ! ( s. wait2( false ) , h. id( ) ) ;
282
282
}
283
283
284
284
#[ test]
@@ -288,7 +288,7 @@ fn preflight7() {
288
288
let s = Select :: new ( ) ;
289
289
let mut h = s. handle ( & rx) ;
290
290
unsafe { h. add ( ) ; }
291
- assert_eq ! ( s. wait2( false ) , h. id) ;
291
+ assert_eq ! ( s. wait2( false ) , h. id( ) ) ;
292
292
}
293
293
294
294
#[ test]
@@ -300,7 +300,7 @@ fn preflight8() {
300
300
let s = Select :: new ( ) ;
301
301
let mut h = s. handle ( & rx) ;
302
302
unsafe { h. add ( ) ; }
303
- assert_eq ! ( s. wait2( false ) , h. id) ;
303
+ assert_eq ! ( s. wait2( false ) , h. id( ) ) ;
304
304
}
305
305
306
306
#[ test]
@@ -313,7 +313,7 @@ fn preflight9() {
313
313
let s = Select :: new ( ) ;
314
314
let mut h = s. handle ( & rx) ;
315
315
unsafe { h. add ( ) ; }
316
- assert_eq ! ( s. wait2( false ) , h. id) ;
316
+ assert_eq ! ( s. wait2( false ) , h. id( ) ) ;
317
317
}
318
318
319
319
#[ test]
0 commit comments