File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ trait DisplayInt:
15
15
fn zero ( ) -> Self ;
16
16
fn from_u8 ( u : u8 ) -> Self ;
17
17
fn to_u8 ( & self ) -> u8 ;
18
- fn to_u16 ( & self ) -> u16 ;
18
+ # [ cfg ( not ( any ( target_pointer_width = "64" , target_arch = "wasm32" ) ) ) ]
19
19
fn to_u32 ( & self ) -> u32 ;
20
20
fn to_u64 ( & self ) -> u64 ;
21
21
fn to_u128 ( & self ) -> u128 ;
@@ -27,7 +27,7 @@ macro_rules! impl_int {
27
27
fn zero( ) -> Self { 0 }
28
28
fn from_u8( u: u8 ) -> Self { u as Self }
29
29
fn to_u8( & self ) -> u8 { * self as u8 }
30
- fn to_u16 ( & self ) -> u16 { * self as u16 }
30
+ # [ cfg ( not ( any ( target_pointer_width = "64" , target_arch = "wasm32" ) ) ) ]
31
31
fn to_u32( & self ) -> u32 { * self as u32 }
32
32
fn to_u64( & self ) -> u64 { * self as u64 }
33
33
fn to_u128( & self ) -> u128 { * self as u128 }
@@ -40,7 +40,7 @@ macro_rules! impl_uint {
40
40
fn zero( ) -> Self { 0 }
41
41
fn from_u8( u: u8 ) -> Self { u as Self }
42
42
fn to_u8( & self ) -> u8 { * self as u8 }
43
- fn to_u16 ( & self ) -> u16 { * self as u16 }
43
+ # [ cfg ( not ( any ( target_pointer_width = "64" , target_arch = "wasm32" ) ) ) ]
44
44
fn to_u32( & self ) -> u32 { * self as u32 }
45
45
fn to_u64( & self ) -> u64 { * self as u64 }
46
46
fn to_u128( & self ) -> u128 { * self as u128 }
Original file line number Diff line number Diff line change @@ -48,15 +48,15 @@ impl RawWaker {
48
48
/// Get the `data` pointer used to create this `RawWaker`.
49
49
#[ inline]
50
50
#[ must_use]
51
- #[ unstable( feature = "waker_getters" , issue = "87021 " ) ]
51
+ #[ unstable( feature = "waker_getters" , issue = "96992 " ) ]
52
52
pub fn data ( & self ) -> * const ( ) {
53
53
self . data
54
54
}
55
55
56
56
/// Get the `vtable` pointer used to create this `RawWaker`.
57
57
#[ inline]
58
58
#[ must_use]
59
- #[ unstable( feature = "waker_getters" , issue = "87021 " ) ]
59
+ #[ unstable( feature = "waker_getters" , issue = "96992 " ) ]
60
60
pub fn vtable ( & self ) -> & ' static RawWakerVTable {
61
61
self . vtable
62
62
}
@@ -371,7 +371,7 @@ impl Waker {
371
371
/// Get a reference to the underlying [`RawWaker`].
372
372
#[ inline]
373
373
#[ must_use]
374
- #[ unstable( feature = "waker_getters" , issue = "87021 " ) ]
374
+ #[ unstable( feature = "waker_getters" , issue = "96992 " ) ]
375
375
pub fn as_raw ( & self ) -> & RawWaker {
376
376
& self . waker
377
377
}
You can’t perform that action at this time.
0 commit comments