From afb5eef9858513c7ceac11e540f61bfc9741c801 Mon Sep 17 00:00:00 2001 From: Dmitry Novikov Date: Fri, 17 Jun 2022 22:21:50 +0300 Subject: [PATCH] Fix clippy on latest compiler (#1075) --- .github/workflows/CI.yaml | 2 +- pallets/usage/src/offchain.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index bec3457a66a..c03f1c868c6 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -233,7 +233,7 @@ jobs: issue-number: ${{ github.event.pull_request.number }} body: |
${{ github.event.pull_request.head.sha }} -
Pallet tests (values are in nanosegconds) +
Pallet tests (values are in nanoseconds) ${{ steps.test-performance-pallets.outputs.body }}
diff --git a/pallets/usage/src/offchain.rs b/pallets/usage/src/offchain.rs index c465cc3b159..5103ceb0591 100644 --- a/pallets/usage/src/offchain.rs +++ b/pallets/usage/src/offchain.rs @@ -122,7 +122,7 @@ impl core::fmt::Debug for PayeeInfo { } } -#[derive(Encode, Decode, Default, Clone, PartialEq, RuntimeDebug, scale_info::TypeInfo)] +#[derive(Encode, Decode, Default, Clone, PartialEq, Eq, RuntimeDebug, scale_info::TypeInfo)] pub struct WaitListInvoiceData { pub program_id: H256, pub message_id: H256,