File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -2473,8 +2473,8 @@ where
2473
2473
if let Some ( intrinsic) = custom_arch. intrinsic_from_id ( intrinsic) {
2474
2474
let inputs = intrinsic. outputs ( ) ;
2475
2475
let mut res = Vec :: with_capacity ( inputs. len ( ) ) ;
2476
- for input in inputs {
2477
- res. push ( input. into ( ) ) ;
2476
+ for input in inputs. iter ( ) {
2477
+ res. push ( input. as_ref ( ) . into ( ) ) ;
2478
2478
}
2479
2479
2480
2480
unsafe {
Original file line number Diff line number Diff line change @@ -261,15 +261,6 @@ impl From<BNOffsetWithConfidence> for Conf<i64> {
261
261
}
262
262
}
263
263
264
- impl From < Conf < Ref < Type > > > for BNTypeWithConfidence {
265
- fn from ( conf : Conf < Ref < Type > > ) -> Self {
266
- Self {
267
- type_ : conf. contents . handle ,
268
- confidence : conf. confidence ,
269
- }
270
- }
271
- }
272
-
273
264
impl From < Conf < & Type > > for BNTypeWithConfidence {
274
265
fn from ( conf : Conf < & Type > ) -> Self {
275
266
Self {
You can’t perform that action at this time.
0 commit comments