runtime: ParitalEq -> PartialEq (#27900)

This commit is contained in:
Ian Macalinao 2022-09-17 22:55:29 -05:00 committed by GitHub
parent 8c24840247
commit c237f15295
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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