@@ -83,14 +83,14 @@ pub struct LoopHandle<'l, Data> {
83
83
}
84
84
85
85
impl < ' l , Data > std:: fmt:: Debug for LoopHandle < ' l , Data > {
86
- #[ cfg_attr( feature = "nightly_coverage" , no_coverage ) ]
86
+ #[ cfg_attr( feature = "nightly_coverage" , coverage ( off ) ) ]
87
87
fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
88
88
f. write_str ( "LoopHandle { ... }" )
89
89
}
90
90
}
91
91
92
92
impl < ' l , Data > Clone for LoopHandle < ' l , Data > {
93
- #[ cfg_attr( feature = "nightly_coverage" , no_coverage ) ]
93
+ #[ cfg_attr( feature = "nightly_coverage" , coverage ( off ) ) ]
94
94
fn clone ( & self ) -> Self {
95
95
LoopHandle {
96
96
inner : self . inner . clone ( ) ,
@@ -128,7 +128,7 @@ impl<'l, Data> LoopHandle<'l, Data> {
128
128
/// Use this function if you need access to the event source after its insertion in the loop.
129
129
///
130
130
/// See also `insert_source`.
131
- #[ cfg_attr( feature = "nightly_coverage" , no_coverage ) ] // Contains a branch we can't hit w/o OOM
131
+ #[ cfg_attr( feature = "nightly_coverage" , coverage ( off ) ) ] // Contains a branch we can't hit w/o OOM
132
132
pub fn register_dispatcher < S > (
133
133
& self ,
134
134
dispatcher : Dispatcher < ' l , S , Data > ,
@@ -282,7 +282,7 @@ pub struct EventLoop<'l, Data> {
282
282
}
283
283
284
284
impl < ' l , Data > std:: fmt:: Debug for EventLoop < ' l , Data > {
285
- #[ cfg_attr( feature = "nightly_coverage" , no_coverage ) ]
285
+ #[ cfg_attr( feature = "nightly_coverage" , coverage ( off ) ) ]
286
286
fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
287
287
f. write_str ( "EventLoop { ... }" )
288
288
}
@@ -659,7 +659,7 @@ pub struct LoopSignal {
659
659
}
660
660
661
661
impl std:: fmt:: Debug for LoopSignal {
662
- #[ cfg_attr( feature = "nightly_coverage" , no_coverage ) ]
662
+ #[ cfg_attr( feature = "nightly_coverage" , coverage ( off ) ) ]
663
663
fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> std:: fmt:: Result {
664
664
f. write_str ( "LoopSignal { ... }" )
665
665
}
0 commit comments