diff --git a/state-chain/pallets/cf-elections/src/electoral_systems/state_machine/state_machine_es.rs b/state-chain/pallets/cf-elections/src/electoral_systems/state_machine/state_machine_es.rs index f041122f65..b22ec95f33 100644 --- a/state-chain/pallets/cf-elections/src/electoral_systems/state_machine/state_machine_es.rs +++ b/state-chain/pallets/cf-elections/src/electoral_systems/state_machine/state_machine_es.rs @@ -15,21 +15,6 @@ use super::{ state_machine::StateMachine, }; -pub trait IntoResult { - type Ok; - type Err; - - fn into_result(self) -> Result; -} - -impl IntoResult for Result { - type Ok = A; - type Err = B; - fn into_result(self) -> Result { - self - } -} - /// This is an Either type, unfortunately it's more ergonomic /// to recreate this instead of using `itertools::Either`, because /// we need a special implementation of Indexed: we want the vote to