From 79d8d14eb32a9b1766eb546d3791580dfee7278f Mon Sep 17 00:00:00 2001 From: Rubens Brandao Date: Thu, 25 Apr 2024 12:32:01 -0300 Subject: Remove From Conf> impl for BNTypeWithConfidence --- rust/src/types.rs | 9 --------- 1 file changed, 9 deletions(-) (limited to 'rust/src/types.rs') 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 for Conf { } } -impl From>> for BNTypeWithConfidence { - fn from(conf: Conf>) -> Self { - Self { - type_: conf.contents.handle, - confidence: conf.confidence, - } - } -} - impl From> for BNTypeWithConfidence { fn from(conf: Conf<&Type>) -> Self { Self { -- cgit v1.3.1