From 51d2f99f8d2b95b3ab693ad76cc67795572fa46e Mon Sep 17 00:00:00 2001 From: winniehere Date: Mon, 1 Jul 2024 11:21:04 +0800 Subject: [PATCH] remove duplicate words --- crates/bin/pclientd/src/lib.rs | 2 +- crates/bin/pd/src/cli.rs | 2 +- crates/bin/pd/tests/network_integration.rs | 2 +- crates/core/component/dex/src/component/router/tests.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/bin/pclientd/src/lib.rs b/crates/bin/pclientd/src/lib.rs index 8ab6759cb4..31e69df0d6 100644 --- a/crates/bin/pclientd/src/lib.rs +++ b/crates/bin/pclientd/src/lib.rs @@ -105,7 +105,7 @@ pub enum Command { parse(try_from_str = Url::parse) )] grpc_url: Url, - /// Sets the address to bind to to serve gRPC. + /// Sets the address to bind to serve gRPC. #[clap(long, display_order = 900, default_value = "127.0.0.1:8081")] bind_addr: SocketAddr, }, diff --git a/crates/bin/pd/src/cli.rs b/crates/bin/pd/src/cli.rs index 0597b8c603..7f29c0e9c4 100644 --- a/crates/bin/pd/src/cli.rs +++ b/crates/bin/pd/src/cli.rs @@ -138,7 +138,7 @@ pub enum RootCommand { /// If set, force a migration to occur even if the chain is not halted. #[clap(long, display_order = 1000)] force: bool, - /// If set, edit local state to to permit the node to start, despite + /// If set, edit local state to permit the node to start, despite /// a pre-existing halt order, e.g. via governance. This option /// can be useful for relayer operators, to run a temporary archive node /// across upgrade boundaries. diff --git a/crates/bin/pd/tests/network_integration.rs b/crates/bin/pd/tests/network_integration.rs index 5449ce25a0..ca3116de6f 100644 --- a/crates/bin/pd/tests/network_integration.rs +++ b/crates/bin/pd/tests/network_integration.rs @@ -31,7 +31,7 @@ async fn check_cors_headers() -> anyhow::Result<()> { #[ignore] #[tokio::test] -/// Confirm that the a naive GET on the gRPC route returns a 200, +/// Confirm that the naive GET on the gRPC route returns a 200, /// as a sanity check that we haven't badly broken the minifront static asset bundling. /// This check does *not* confirm that page works correctly, but it does confirm /// it's at least loading, which guards against path regressions in the asset building. diff --git a/crates/core/component/dex/src/component/router/tests.rs b/crates/core/component/dex/src/component/router/tests.rs index f25018e4cb..5484ccd9f6 100644 --- a/crates/core/component/dex/src/component/router/tests.rs +++ b/crates/core/component/dex/src/component/router/tests.rs @@ -153,7 +153,7 @@ async fn path_extension_basic() { .expect("extend_to failed") .expect("path to penumbra not found"); - // This price should be more expensive since the the cheaper path along the mispriced gn:pusd position no longer exists. + // This price should be more expensive since the cheaper path along the mispriced gn:pusd position no longer exists. let expensive_price = path.price; assert!(