Skip to content

Commit c2bd12d

Browse files
committed
Fix rust 1.65.0 clippy warning derive-partial-eq-without-eq
1 parent b538801 commit c2bd12d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/api.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@ pub struct Tx {
7373
pub fee: u64,
7474
}
7575

76-
#[derive(Deserialize, Clone, Debug, PartialEq)]
76+
#[derive(Deserialize, Clone, Debug, PartialEq, Eq)]
7777
pub struct BlockTime {
7878
pub timestamp: u64,
7979
pub height: u32,
8080
}
8181

82-
#[derive(Debug, Clone, Deserialize, PartialEq)]
82+
#[derive(Debug, Clone, Deserialize, PartialEq, Eq)]
8383
pub struct BlockSummary {
8484
pub id: BlockHash,
8585
#[serde(flatten)]

0 commit comments

Comments
 (0)