chore: remove redundant words in comment (#12997)

Signed-off-by: hishope <csqiye@126.com>
This commit is contained in:
John
2024-11-29 14:33:26 +08:00
committed by GitHub
parent 39d4c1a427
commit 8590f7a5d5
3 changed files with 5 additions and 5 deletions

View File

@ -309,7 +309,7 @@ impl From<Vec<B256>> for NewPooledTransactionHashes66 {
}
}
/// Same as [`NewPooledTransactionHashes66`] but extends that that beside the transaction hashes,
/// Same as [`NewPooledTransactionHashes66`] but extends that beside the transaction hashes,
/// the node sends the transaction types and their sizes (as defined in EIP-2718) as well.
#[derive(Clone, Debug, PartialEq, Eq, Default)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]

View File

@ -1413,7 +1413,7 @@ enum MDBX_env_flags_t {
* \ref mdbx_env_set_syncbytes() and \ref mdbx_env_set_syncperiod() functions
* could be very useful with `MDBX_SAFE_NOSYNC` flag.
*
* The number and volume of of disk IOPs with MDBX_SAFE_NOSYNC flag will
* The number and volume of disk IOPs with MDBX_SAFE_NOSYNC flag will
* exactly the as without any no-sync flags. However, you should expect a
* larger process's [work set](https://bit.ly/2kA2tFX) and significantly worse
* a [locality of reference](https://bit.ly/2mbYq2J), due to the more
@ -2079,7 +2079,7 @@ enum MDBX_option_t {
* for all processes interacting with the database.
*
* \details This defines the number of slots in the lock table that is used to
* track readers in the the environment. The default is about 100 for 4K
* track readers in the environment. The default is about 100 for 4K
* system page size. Starting a read-only transaction normally ties a lock
* table slot to the current thread until the environment closes or the thread
* exits. If \ref MDBX_NOTLS is in use, \ref mdbx_txn_begin() instead ties the
@ -3343,7 +3343,7 @@ mdbx_limits_txnsize_max(intptr_t pagesize);
* \ingroup c_settings
*
* \details This defines the number of slots in the lock table that is used to
* track readers in the the environment. The default is about 100 for 4K system
* track readers in the environment. The default is about 100 for 4K system
* page size. Starting a read-only transaction normally ties a lock table slot
* to the current thread until the environment closes or the thread exits. If
* \ref MDBX_NOTLS is in use, \ref mdbx_txn_begin() instead ties the slot to the

View File

@ -56,7 +56,7 @@ pub enum SyncMode {
/// flag could be used with [`Environment::sync()`](crate::Environment::sync) as alternatively
/// for batch committing or nested transaction (in some cases).
///
/// The number and volume of of disk IOPs with [`SyncMode::SafeNoSync`] flag will exactly the
/// The number and volume of disk IOPs with [`SyncMode::SafeNoSync`] flag will exactly the
/// as without any no-sync flags. However, you should expect a larger process's work set
/// and significantly worse a locality of reference, due to the more intensive allocation
/// of previously unused pages and increase the size of the database.