fix typos

This commit is contained in:
Haoran Yi
2022-02-05 21:44:59 -06:00
parent 77125cd390
commit fa18845fa4

View File

@ -1,5 +1,5 @@
//! The `banking_stage` processes Transaction messages. It is intended to be used //! The `banking_stage` processes Transaction messages. It is intended to be used
//! to contruct a software pipeline. The stage uses all available CPU cores and //! to construct a software pipeline. The stage uses all available CPU cores and
//! can do its processing in parallel with signature verification on the GPU. //! can do its processing in parallel with signature verification on the GPU.
use { use {
crate::{ crate::{
@ -194,7 +194,7 @@ impl BankingStageStats {
} }
fn report(&mut self, report_interval_ms: u64) { fn report(&mut self, report_interval_ms: u64) {
// skip repoting metrics if stats is empty // skip reporting metrics if stats is empty
if self.is_empty() { if self.is_empty() {
return; return;
} }