File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -59,12 +59,11 @@ extern crate std;
59
59
60
60
use alloc:: boxed:: Box ;
61
61
use core:: fmt;
62
+ use core:: panic:: { RefUnwindSafe , UnwindSafe } ;
62
63
use sync:: atomic:: { self , Ordering } ;
63
64
64
65
#[ cfg( feature = "std" ) ]
65
66
use std:: error;
66
- #[ cfg( feature = "std" ) ]
67
- use std:: panic:: { RefUnwindSafe , UnwindSafe } ;
68
67
69
68
use crate :: bounded:: Bounded ;
70
69
use crate :: single:: Single ;
@@ -99,9 +98,7 @@ pub struct ConcurrentQueue<T>(Inner<T>);
99
98
unsafe impl < T : Send > Send for ConcurrentQueue < T > { }
100
99
unsafe impl < T : Send > Sync for ConcurrentQueue < T > { }
101
100
102
- #[ cfg( feature = "std" ) ]
103
101
impl < T > UnwindSafe for ConcurrentQueue < T > { }
104
- #[ cfg( feature = "std" ) ]
105
102
impl < T > RefUnwindSafe for ConcurrentQueue < T > { }
106
103
107
104
enum Inner < T > {
You can’t perform that action at this time.
0 commit comments