Skip to content

Commit a90fe92

Browse files
Got rid of conversions that should not exist (and are not used).
1 parent b8cd1e9 commit a90fe92

File tree

1 file changed

+0
-18
lines changed
  • rs/nns/governance/src/pb/conversions

1 file changed

+0
-18
lines changed

rs/nns/governance/src/pb/conversions/mod.rs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1787,16 +1787,6 @@ impl From<pb::SuccessfulProposalExecutionValue> for api::SuccessfulProposalExecu
17871787
}
17881788
}
17891789

1790-
impl From<api::SuccessfulProposalExecutionValue> for pb::SuccessfulProposalExecutionValue {
1791-
fn from(item: api::SuccessfulProposalExecutionValue) -> Self {
1792-
match item {
1793-
api::SuccessfulProposalExecutionValue::CreateCanisterAndInstallCode(ok) => Self {
1794-
proposal_type: Some(ProposalType::CreateCanisterAndInstallCode(ok.into())),
1795-
},
1796-
}
1797-
}
1798-
}
1799-
18001790
impl From<pb::CreateCanisterAndInstallCodeOk> for api::CreateCanisterAndInstallCodeOk {
18011791
fn from(item: pb::CreateCanisterAndInstallCodeOk) -> Self {
18021792
Self {
@@ -1805,14 +1795,6 @@ impl From<pb::CreateCanisterAndInstallCodeOk> for api::CreateCanisterAndInstallC
18051795
}
18061796
}
18071797

1808-
impl From<api::CreateCanisterAndInstallCodeOk> for pb::CreateCanisterAndInstallCodeOk {
1809-
fn from(item: api::CreateCanisterAndInstallCodeOk) -> Self {
1810-
Self {
1811-
canister_id: item.canister_id,
1812-
}
1813-
}
1814-
}
1815-
18161798
impl From<&ic_nns_handler_root_interface::CreateCanisterAndInstallCodeOk>
18171799
for pb::CreateCanisterAndInstallCodeOk
18181800
{

0 commit comments

Comments
 (0)