Skip to content

Commit

Permalink
chore: remove redundant words in comment (#3847)
Browse files Browse the repository at this point in the history
Signed-off-by: hishope <[email protected]>
  • Loading branch information
hishope authored Dec 1, 2024
1 parent df51716 commit f454a53
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion accounts-db/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion accounts-db/src/accounts_db/geyser_plugin_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion docs/static/katex/katex.js
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion docs/static/katex/katex.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion dos/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ fn create_payers<T: 'static + TpsClient + Send + Sync>(
// 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(
Expand Down
2 changes: 1 addition & 1 deletion ledger/src/blockstore_meta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/transaction/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion streamer/src/nonblocking/quic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ fn handle_connection_error(e: quinn::ConnectionError, stats: &StreamerStats, fro
}

// Holder(s) of the AsyncSender<PacketAccumulator> 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<PacketBatch>,
packet_receiver: AsyncReceiver<PacketAccumulator>,
Expand Down

0 comments on commit f454a53

Please sign in to comment.