Skip to content

Commit

Permalink
chore: remove redundant words in comment
Browse files Browse the repository at this point in the history
Signed-off-by: hongkuang <[email protected]>
  • Loading branch information
HongKuang committed Dec 3, 2024
1 parent 1965bec commit aa5a391
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions massa-bootstrap/src/tests/binders.rs
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ fn test_partial_msg() {
client.handshake(version()).unwrap();

// write the signature.
// This test assumes that the the signature is not checked until the message is read in
// This test assumes that the signature is not checked until the message is read in
// its entirety. The signature here would cause the message exchange to fail on that basis
// if this assumption is broken.
client_clone
Expand Down Expand Up @@ -766,7 +766,7 @@ fn test_client_drip_feed() {
client.handshake(version()).unwrap();

// write the signature.
// This test assumes that the the signature is not checked until the message is read in
// This test assumes that the signature is not checked until the message is read in
// its entirety. The signature here would cause the message exchange to fail on that basis
// if this assumption is broken.
client_clone
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ impl SpeculativeExecutedDenunciations {
/// Creates a new `SpeculativeExecutedDenunciations`
///
/// # Arguments
/// * `final_state`: thread-safe shared access the the final state
/// * `final_state`: thread-safe shared access the final state
/// * `active_history`: thread-safe shared access the speculative execution history
pub fn new(
final_state: Arc<RwLock<dyn FinalStateController>>,
Expand Down
2 changes: 1 addition & 1 deletion massa-execution-worker/src/speculative_executed_ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ impl SpeculativeExecutedOps {
/// Creates a new `SpeculativeExecutedOps`
///
/// # Arguments
/// * `final_state`: thread-safe shared access the the final state
/// * `final_state`: thread-safe shared access the final state
/// * `active_history`: thread-safe shared access the speculative execution history
pub fn new(
final_state: Arc<RwLock<dyn FinalStateController>>,
Expand Down
2 changes: 1 addition & 1 deletion massa-execution-worker/src/tests/scenarios_mandatories.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2954,7 +2954,7 @@ fn test_dump_block() {

std::thread::sleep(Duration::from_secs(1));

// if the the storage backend for the dump-block feature is a rocksdb, this
// if the storage backend for the dump-block feature is a rocksdb, this
// is mandatory (the db must be closed before we can reopen it to ckeck the
// data)
drop(universe);
Expand Down
2 changes: 1 addition & 1 deletion massa-models/src/secure_share.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ where
T: Display + SecureShareContent,
ID: Id,
{
/// Reference contents. Not required for the the security protocols.
/// Reference contents. Not required for the security protocols.
///
/// Use the Lightweight equivilant structures when you need verifiable
/// serialized data, but do not need to read the values directly (such as when sending)
Expand Down

0 comments on commit aa5a391

Please sign in to comment.