diff --git a/chain/epoch-manager/src/tests/mod.rs b/chain/epoch-manager/src/tests/mod.rs index 60a23c69bca..8a1afe6cee0 100644 --- a/chain/epoch-manager/src/tests/mod.rs +++ b/chain/epoch-manager/src/tests/mod.rs @@ -3833,7 +3833,7 @@ fn test_get_shard_uids_pending_resharding_double_different() { assert_eq!(shard_uids, vec![s0, s1].into_iter().collect::>()); } -/// Test that that only one shard is pending resharding during a double +/// Test that only one shard is pending resharding during a double /// resharding where the same shard is reshareded twice. #[test] fn test_get_shard_uids_pending_resharding_double_same() { diff --git a/chain/rosetta-rpc/src/models.rs b/chain/rosetta-rpc/src/models.rs index 0813041bd5b..0f7284de642 100644 --- a/chain/rosetta-rpc/src/models.rs +++ b/chain/rosetta-rpc/src/models.rs @@ -376,7 +376,7 @@ pub(crate) struct ConstructionPayloadsRequest { /// ConstructionTransactionResponse is returned by `/construction/payloads`. It /// contains an unsigned transaction blob (that is usually needed to construct -/// the a network transaction from a collection of signatures) and an +/// a network transaction from a collection of signatures) and an /// array of payloads that must be signed by the caller. #[derive(Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize, Apiv2Schema)] pub(crate) struct ConstructionPayloadsResponse { diff --git a/core/parameters/src/parameter_table.rs b/core/parameters/src/parameter_table.rs index 958948259ff..570bd6f6746 100644 --- a/core/parameters/src/parameter_table.rs +++ b/core/parameters/src/parameter_table.rs @@ -584,7 +584,7 @@ mod tests { check_parameter_table("", &[], []); } - /// Reading reading a normally formatted base parameter file with no diffs + /// Reading a normally formatted base parameter file with no diffs #[test] fn test_basic_parameter_table() { check_parameter_table( @@ -605,7 +605,7 @@ mod tests { ); } - /// Reading reading a slightly funky formatted base parameter file with no diffs + /// Reading a slightly funky formatted base parameter file with no diffs #[test] fn test_basic_parameter_table_weird_syntax() { check_parameter_table( diff --git a/core/store/src/db/rocksdb/snapshot.rs b/core/store/src/db/rocksdb/snapshot.rs index 46db7dfc36e..f898d824c76 100644 --- a/core/store/src/db/rocksdb/snapshot.rs +++ b/core/store/src/db/rocksdb/snapshot.rs @@ -13,7 +13,7 @@ use crate::Temperature; /// The usage of the type is to create a checkpoint before a risky database /// operation and then [`Snapshot::remove`] it when the operation finishes /// successfully. In that scenario, the checkpoint will be gracefully deleted -/// from the file system. On the other hand, if the operation fails an the +/// from the file system. On the other hand, if the operation fails and the /// checkpoint is not deleted, this type’s Drop implementation will log /// informational messages pointing where the snapshot resides and how to /// recover data from it. diff --git a/nightly/README.md b/nightly/README.md index a5efde46b82..9da33f47484 100644 --- a/nightly/README.md +++ b/nightly/README.md @@ -58,7 +58,7 @@ For example: (Currently the package name is ignored but it may change in the future so make sure it’s set correctly). The path to the test function must -match exactly an the test binary is called with `--exact` argument. +match exactly the test binary is called with `--exact` argument. ### Other arguments diff --git a/runtime/near-vm/compiler/src/compiler.rs b/runtime/near-vm/compiler/src/compiler.rs index 3ff87346cf4..bd0b80f6ed5 100644 --- a/runtime/near-vm/compiler/src/compiler.rs +++ b/runtime/near-vm/compiler/src/compiler.rs @@ -75,7 +75,7 @@ where pub trait Compiler: Send { /// Validates a module. /// - /// It returns the a succesful Result in case is valid, `CompileError` in case is not. + /// It returns a succesful Result in case is valid, `CompileError` in case is not. fn validate_module<'data>( &self, features: &Features, diff --git a/runtime/runtime/src/lib.rs b/runtime/runtime/src/lib.rs index fa907aa45db..9321108039c 100644 --- a/runtime/runtime/src/lib.rs +++ b/runtime/runtime/src/lib.rs @@ -291,7 +291,7 @@ impl Runtime { /// Takes one signed transaction, verifies it and converts it to a receipt. /// - /// Add the produced receipt receipt either to the new local receipts if the signer is the same + /// Add the produced receipt either to the new local receipts if the signer is the same /// as receiver or to the new outgoing receipts. /// /// When transaction is converted to a receipt, the account is charged for the full value of