diff --git a/accounts-db/src/accounts_db.rs b/accounts-db/src/accounts_db.rs index a18e88c8b9ba7b..92fce18d231904 100644 --- a/accounts-db/src/accounts_db.rs +++ b/accounts-db/src/accounts_db.rs @@ -9599,7 +9599,7 @@ pub mod test_utils { .get_slot_storage_entry(slot) .is_none() { - // Some callers relied on old behavior where the the file size was rounded up to the + // Some callers relied on old behavior where the file size was rounded up to the // next page size because they append to the storage file after it was written. // This behavior is not supported by a normal running validator. Since this function // is only called by tests/benches, add some extra capacity to the file to not break diff --git a/accounts-db/src/accounts_db/geyser_plugin_utils.rs b/accounts-db/src/accounts_db/geyser_plugin_utils.rs index cedebafa4f08e7..8cddf857f1681e 100644 --- a/accounts-db/src/accounts_db/geyser_plugin_utils.rs +++ b/accounts-db/src/accounts_db/geyser_plugin_utils.rs @@ -35,7 +35,7 @@ impl GeyserPluginNotifyAtSnapshotRestoreStats { } impl AccountsDb { - /// Notify the plugins of of account data when AccountsDb is restored from a snapshot. The data is streamed + /// Notify the plugins of account data when AccountsDb is restored from a snapshot. The data is streamed /// in the reverse order of the slots so that an account is only streamed once. At a slot, if the accounts is updated /// multiple times only the last write (with highest write_version) is notified. pub fn notify_account_restore_from_snapshot(&self) { diff --git a/docs/static/katex/katex.js b/docs/static/katex/katex.js index e5d316691883bf..b289a482ae5662 100644 --- a/docs/static/katex/katex.js +++ b/docs/static/katex/katex.js @@ -3662,7 +3662,7 @@ function assertSpan(group) { // In TeX, there are actually three sets of dimensions, one for each of // textstyle (size index 5 and higher: >=9pt), scriptstyle (size index 3 and 4: // 7-8pt), and scriptscriptstyle (size index 1 and 2: 5-6pt). These are -// provided in the the arrays below, in that order. +// provided in the arrays below, in that order. // // The font metrics are stored in fonts cmsy10, cmsy7, and cmsy5 respsectively. // This was determined by running the following script: diff --git a/docs/static/katex/katex.mjs b/docs/static/katex/katex.mjs index 488d2101c21232..56abd045543143 100644 --- a/docs/static/katex/katex.mjs +++ b/docs/static/katex/katex.mjs @@ -3686,7 +3686,7 @@ var metricMap = { // In TeX, there are actually three sets of dimensions, one for each of // textstyle (size index 5 and higher: >=9pt), scriptstyle (size index 3 and 4: // 7-8pt), and scriptscriptstyle (size index 1 and 2: 5-6pt). These are -// provided in the the arrays below, in that order. +// provided in the arrays below, in that order. // // The font metrics are stored in fonts cmsy10, cmsy7, and cmsy5 respsectively. // This was determined by running the following script: diff --git a/dos/src/main.rs b/dos/src/main.rs index fc8b1b8f6846dc..beb891e5a46a11 100644 --- a/dos/src/main.rs +++ b/dos/src/main.rs @@ -551,7 +551,7 @@ fn create_payers( // Assume that if we use valid blockhash, we also have a payer if valid_blockhash { // each payer is used to fund transaction - // transactions are built to be invalid so the the amount here is arbitrary + // transactions are built to be invalid so the amount here is arbitrary let funding_key = Keypair::new(); let funding_key = Arc::new(funding_key); let res = generate_and_fund_keypairs( diff --git a/ledger/src/blockstore_meta.rs b/ledger/src/blockstore_meta.rs index f3940fe618444d..3b39b41cd92935 100644 --- a/ledger/src/blockstore_meta.rs +++ b/ledger/src/blockstore_meta.rs @@ -29,7 +29,7 @@ bitflags! { // some root slot. // // A ledger that is updating with a cluster will have either begun at - // genesis or at at some snapshot slot. + // genesis or at some snapshot slot. // - Genesis is obviously a special case, and slot 0's parent is deemed // to be connected in order to kick off the induction // - Snapshots are taken at rooted slots, and as such, the snapshot slot diff --git a/sdk/src/transaction/mod.rs b/sdk/src/transaction/mod.rs index 6fc088b964a360..b597b9d840be67 100644 --- a/sdk/src/transaction/mod.rs +++ b/sdk/src/transaction/mod.rs @@ -14,7 +14,7 @@ //! `Transaction` type has constructors that build the `Message` so that clients //! don't need to interact with them directly. //! -//! Prior to submission to the network, transactions must be signed by one or or +//! Prior to submission to the network, transactions must be signed by one or //! more keypairs, and this signing is typically performed by an abstract //! [`Signer`], which may be a [`Keypair`] but may also be other types of //! signers including remote wallets, such as Ledger devices, as represented by diff --git a/streamer/src/nonblocking/quic.rs b/streamer/src/nonblocking/quic.rs index f14ae8e76285b6..a840c5b8fea94f 100644 --- a/streamer/src/nonblocking/quic.rs +++ b/streamer/src/nonblocking/quic.rs @@ -880,7 +880,7 @@ fn handle_connection_error(e: quinn::ConnectionError, stats: &StreamerStats, fro } // Holder(s) of the AsyncSender on the other end should not -// wait for this function to exit to exit +// wait for this function to exit async fn packet_batch_sender( packet_sender: Sender, packet_receiver: AsyncReceiver,