summaryrefslogtreecommitdiff
path: root/rust/src/types.rs
diff options
context:
space:
mode:
authorRubens Brandao <git@rubens.io>2024-04-25 12:32:01 -0300
committerRubens Brandao <git@rubens.io>2024-04-25 12:36:14 -0300
commit79d8d14eb32a9b1766eb546d3791580dfee7278f (patch)
treec41e6fd793cbd843f554462857b8b1438cecb984 /rust/src/types.rs
parent98a5094bea61e02fb9184707b8bad6e09b9f5574 (diff)
Remove From Conf<Ref<Type>> impl for BNTypeWithConfidence
Diffstat (limited to 'rust/src/types.rs')
-rw-r--r--rust/src/types.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/rust/src/types.rs b/rust/src/types.rs
index 8f14cf00..df206b34 100644
--- a/rust/src/types.rs
+++ b/rust/src/types.rs
@@ -260,15 +260,6 @@ impl From<BNOffsetWithConfidence> for Conf<i64> {
}
}
-impl From<Conf<Ref<Type>>> for BNTypeWithConfidence {
- fn from(conf: Conf<Ref<Type>>) -> Self {
- Self {
- type_: conf.contents.handle,
- confidence: conf.confidence,
- }
- }
-}
-
impl From<Conf<&Type>> for BNTypeWithConfidence {
fn from(conf: Conf<&Type>) -> Self {
Self {