From 1effa2c9d462292057263904963db01180db14ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Lachowski?= Date: Tue, 23 Apr 2024 15:29:33 +0200 Subject: [PATCH] removed Into<(PreUnit, Data)> for FullUnit --- consensus/src/units/mod.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/consensus/src/units/mod.rs b/consensus/src/units/mod.rs index 8813eb9a..bfc0fbb3 100644 --- a/consensus/src/units/mod.rs +++ b/consensus/src/units/mod.rs @@ -143,12 +143,6 @@ impl Clone for FullUnit { } } -impl From> for (PreUnit, Option) { - fn from(value: FullUnit) -> Self { - (value.pre_unit, value.data) - } -} - impl FullUnit { pub(crate) fn new(pre_unit: PreUnit, data: Option, session_id: SessionId) -> Self { FullUnit {