@@ -4,7 +4,7 @@ fn main() {
4
4
use futures04:: { executor:: block_on, future} ;
5
5
6
6
// join! macro
7
- let _ = block_on ( async {
7
+ block_on ( async {
8
8
let _ = futures04:: join!( async { } , async { } ) ;
9
9
let _ = macro_reexport:: join!( async { } , async { } ) ;
10
10
let _ = macro_reexport:: join2!( async { } , async { } ) ;
@@ -19,48 +19,48 @@ fn main() {
19
19
} ) ;
20
20
21
21
// select! macro
22
- let _ = block_on ( async {
22
+ block_on ( async {
23
23
let mut a = future:: ready ( ( ) ) ;
24
24
let mut b = future:: pending :: < ( ) > ( ) ;
25
- let _ = futures04:: select! {
25
+ futures04:: select! {
26
26
_ = a => { } ,
27
27
_ = b => unreachable!( ) ,
28
28
} ;
29
29
30
30
let mut a = future:: ready ( ( ) ) ;
31
31
let mut b = future:: pending :: < ( ) > ( ) ;
32
- let _ = macro_reexport:: select! {
32
+ macro_reexport:: select! {
33
33
_ = a => { } ,
34
34
_ = b => unreachable!( ) ,
35
35
} ;
36
36
37
37
let mut a = future:: ready ( ( ) ) ;
38
38
let mut b = future:: pending :: < ( ) > ( ) ;
39
- let _ = macro_reexport:: select2! {
39
+ macro_reexport:: select2! {
40
40
_ = a => { } ,
41
41
_ = b => unreachable!( ) ,
42
42
} ;
43
43
} ) ;
44
44
45
45
// select_biased! macro
46
- let _ = block_on ( async {
46
+ block_on ( async {
47
47
let mut a = future:: ready ( ( ) ) ;
48
48
let mut b = future:: pending :: < ( ) > ( ) ;
49
- let _ = futures04:: select_biased! {
49
+ futures04:: select_biased! {
50
50
_ = a => { } ,
51
51
_ = b => unreachable!( ) ,
52
52
} ;
53
53
54
54
let mut a = future:: ready ( ( ) ) ;
55
55
let mut b = future:: pending :: < ( ) > ( ) ;
56
- let _ = macro_reexport:: select_biased! {
56
+ macro_reexport:: select_biased! {
57
57
_ = a => { } ,
58
58
_ = b => unreachable!( ) ,
59
59
} ;
60
60
61
61
let mut a = future:: ready ( ( ) ) ;
62
62
let mut b = future:: pending :: < ( ) > ( ) ;
63
- let _ = macro_reexport:: select_biased2! {
63
+ macro_reexport:: select_biased2! {
64
64
_ = a => { } ,
65
65
_ = b => unreachable!( ) ,
66
66
} ;
0 commit comments