diff --git a/crates/hotshot/src/types/handle.rs b/crates/hotshot/src/types/handle.rs index 556ff0e1c5..d1d45473c1 100644 --- a/crates/hotshot/src/types/handle.rs +++ b/crates/hotshot/src/types/handle.rs @@ -289,7 +289,7 @@ impl + '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 diff --git a/crates/testing/src/test_builder.rs b/crates/testing/src/test_builder.rs index a4083f461c..c91d45a4d3 100644 --- a/crates/testing/src/test_builder.rs +++ b/crates/testing/src/test_builder.rs @@ -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 { self.gen_launcher_with_tasks(node_id, vec![]) } @@ -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, diff --git a/crates/types/src/traits/network.rs b/crates/types/src/traits/network.rs index f85036dfb9..2348dc8bc7 100644 --- a/crates/types/src/traits/network.rs +++ b/crates/types/src/traits/network.rs @@ -145,7 +145,7 @@ pub enum RequestKind { } /// 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)]