Skip to content

Commit

Permalink
chore: remove redundant words in comment (#3987)
Browse files Browse the repository at this point in the history
Signed-off-by: loselarry <[email protected]>
  • Loading branch information
loselarry authored Jan 2, 2025
1 parent a1062c9 commit e6c6897
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/hotshot/src/types/handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ impl<TYPES: NodeType, I: NodeImplementation<TYPES> + 'static, V: Versions>
self.hotshot.consensus()
}

/// Shut down the the inner hotshot and wait until all background threads are closed.
/// Shut down the inner hotshot and wait until all background threads are closed.
pub async fn shut_down(&mut self) {
// this is required because `SystemContextHandle` holds an inactive receiver and
// `broadcast_direct` below can wait indefinitely
Expand Down
4 changes: 2 additions & 2 deletions crates/testing/src/test_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ where
/// turn a description of a test (e.g. a [`TestDescription`]) into
/// a [`TestLauncher`] that can be used to launch the test.
/// # Panics
/// if some of the the configuration values are zero
/// if some of the configuration values are zero
pub fn gen_launcher(self, node_id: u64) -> TestLauncher<TYPES, I, V> {
self.gen_launcher_with_tasks(node_id, vec![])
}
Expand All @@ -442,7 +442,7 @@ where
/// a [`TestLauncher`] that can be used to launch the test, with
/// additional testing tasks to run in test harness
/// # Panics
/// if some of the the configuration values are zero
/// if some of the configuration values are zero
#[must_use]
pub fn gen_launcher_with_tasks(
self,
Expand Down
2 changes: 1 addition & 1 deletion crates/types/src/traits/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ pub enum RequestKind<TYPES: NodeType> {
}

/// A response for a request. `SequencingMessage` is the same as other network messages
/// The kind of message `M` is is determined by what we requested
/// The kind of message `M` is determined by what we requested
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, Hash)]
#[serde(bound(deserialize = ""))]
#[allow(clippy::large_enum_variant)]
Expand Down

0 comments on commit e6c6897

Please sign in to comment.