runtime: ParitalEq -> PartialEq (#27900)
This commit is contained in:
parent
8c24840247
commit
c237f15295
|
@ -1117,7 +1117,7 @@ impl PartialEq for Bank {
|
|||
incremental_snapshot_persistence: _,
|
||||
// Ignore new fields explicitly if they do not impact PartialEq.
|
||||
// Adding ".." will remove compile-time checks that if a new field
|
||||
// is added to the struct, this ParitalEq is accordingly updated.
|
||||
// is added to the struct, this PartialEq is accordingly updated.
|
||||
} = self;
|
||||
*blockhash_queue.read().unwrap() == *other.blockhash_queue.read().unwrap()
|
||||
&& ancestors == &other.ancestors
|
||||
|
|
Loading…
Reference in New Issue