@@ -130,15 +130,15 @@ impl i128 {
130
130
#[ cfg( target_pointer_width = "16" ) ]
131
131
#[ lang = "isize" ]
132
132
impl isize {
133
- int_impl ! { isize , i16 , u16 , 16 , -32768 , 32767 , "" , "" , 4 , "-0x5ffd" , "0x3a" , "0x1234" ,
133
+ int_impl ! { isize , i16 , usize , 16 , -32768 , 32767 , "" , "" , 4 , "-0x5ffd" , "0x3a" , "0x1234" ,
134
134
"0x3412" , "0x2c48" , "[0x34, 0x12]" , "[0x12, 0x34]" ,
135
135
usize_isize_to_xe_bytes_doc!( ) , usize_isize_from_xe_bytes_doc!( ) }
136
136
}
137
137
138
138
#[ cfg( target_pointer_width = "32" ) ]
139
139
#[ lang = "isize" ]
140
140
impl isize {
141
- int_impl ! { isize , i32 , u32 , 32 , -2147483648 , 2147483647 , "" , "" , 8 , "0x10000b3" , "0xb301" ,
141
+ int_impl ! { isize , i32 , usize , 32 , -2147483648 , 2147483647 , "" , "" , 8 , "0x10000b3" , "0xb301" ,
142
142
"0x12345678" , "0x78563412" , "0x1e6a2c48" , "[0x78, 0x56, 0x34, 0x12]" ,
143
143
"[0x12, 0x34, 0x56, 0x78]" ,
144
144
usize_isize_to_xe_bytes_doc!( ) , usize_isize_from_xe_bytes_doc!( ) }
@@ -147,7 +147,7 @@ impl isize {
147
147
#[ cfg( target_pointer_width = "64" ) ]
148
148
#[ lang = "isize" ]
149
149
impl isize {
150
- int_impl ! { isize , i64 , u64 , 64 , -9223372036854775808 , 9223372036854775807 , "" , "" ,
150
+ int_impl ! { isize , i64 , usize , 64 , -9223372036854775808 , 9223372036854775807 , "" , "" ,
151
151
12 , "0xaa00000000006e1" , "0x6e10aa" , "0x1234567890123456" , "0x5634129078563412" ,
152
152
"0x6a2c48091e6a2c48" , "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]" ,
153
153
"[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]" ,
0 commit comments