Skip to content

Commit 44b0519

Browse files
committed
Merge branch 'fix-into-raw-2' of github.com:rbran/binaryninja-api into dev
2 parents 96c1336 + 79d8d14 commit 44b0519

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

rust/src/architecture.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2473,8 +2473,8 @@ where
24732473
if let Some(intrinsic) = custom_arch.intrinsic_from_id(intrinsic) {
24742474
let inputs = intrinsic.outputs();
24752475
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());
24782478
}
24792479

24802480
unsafe {

rust/src/types.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -261,15 +261,6 @@ impl From<BNOffsetWithConfidence> for Conf<i64> {
261261
}
262262
}
263263

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-
273264
impl From<Conf<&Type>> for BNTypeWithConfidence {
274265
fn from(conf: Conf<&Type>) -> Self {
275266
Self {

0 commit comments

Comments
 (0)