mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 00:31:02 +00:00
dev-comment spelling mistakes (#4434)
This commit is contained in:
committed by
GitHub
parent
854d92a4a4
commit
4adb8466a3
@@ -249,7 +249,7 @@ impl<N: Ord + Copy + PartialEq> ParaPastCodeMeta<N> {
|
||||
// no-op prune.
|
||||
self.upgrade_times.drain(self.upgrade_times.len()..)
|
||||
} else {
|
||||
// if we are actually pruning something, update the last_pruned member.
|
||||
// if we are actually pruning something, update the `last_pruned` member.
|
||||
self.last_pruned = Some(self.upgrade_times[to_prune - 1].activated_at);
|
||||
self.upgrade_times.drain(..to_prune)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user