diff --git a/core/src/forwarding_stage.rs b/core/src/forwarding_stage.rs index 0c72a0228beade..f2be23cbb98952 100644 --- a/core/src/forwarding_stage.rs +++ b/core/src/forwarding_stage.rs @@ -50,7 +50,7 @@ mod packet_container; /// [`ForwardingClientOption`] enum represents the available client types for /// TPU communication: /// * [`ConnectionCacheClient`]: Uses a shared [`ConnectionCache`] to manage -/// connections. +/// connections. /// * [`TpuClientNextClient`]: Relies on the `tpu-client-next` crate. pub enum ForwardingClientOption<'a> { ConnectionCache(Arc), diff --git a/ledger/src/blockstore.rs b/ledger/src/blockstore.rs index 4a95b5906fc19e..f469c0fb496181 100644 --- a/ledger/src/blockstore.rs +++ b/ledger/src/blockstore.rs @@ -1642,12 +1642,12 @@ impl Blockstore { /// Arguments: /// - `shred`: the shred to be inserted /// - `shred_insertion_tracker`: collection of shred insertion tracking - /// data. + /// data. /// - `is_trusted`: if false, this function will check whether the - /// input shred is duplicate. + /// input shred is duplicate. /// - `handle_duplicate`: the function that handles duplication. /// - `leader_schedule`: the leader schedule will be used to check - /// whether it is okay to insert the input shred. + /// whether it is okay to insert the input shred. /// - `shred_source`: the source of the shred. #[allow(clippy::too_many_arguments)] fn check_insert_data_shred<'a>( diff --git a/rpc/src/rpc_service.rs b/rpc/src/rpc_service.rs index 0ff742f8ec3f1f..96fc81b086b317 100644 --- a/rpc/src/rpc_service.rs +++ b/rpc/src/rpc_service.rs @@ -404,9 +404,9 @@ pub struct JsonRpcServiceConfig<'a> { /// [`ClientOption`] enum represents the available client types for TPU /// communication: /// * [`ConnectionCacheClient`]: Uses a shared [`ConnectionCache`] to manage -/// connections efficiently. +/// connections efficiently. /// * [`TpuClientNextClient`]: Relies on the `tpu-client-next` crate and -/// requires a reference to a [`Keypair`]. +/// requires a reference to a [`Keypair`]. pub enum ClientOption<'a> { ConnectionCache(Arc), TpuClientNext(&'a Keypair, UdpSocket),