Skip to content

Commit c7f9a3f

Browse files
committed
Clippy.
1 parent ab1b78a commit c7f9a3f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/worker/listener.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ struct ActionInput<T> {
4848
parents: HashMap<Ustr, serde_json::Value>,
4949
}
5050

51+
#[allow(clippy::too_many_arguments)]
5152
async fn handle_start_step_run(
5253
action_function_task_join_set: &mut tokio::task::JoinSet<crate::InternalResult<()>>,
5354
abort_handles: &mut HashMap<String, tokio::task::AbortHandle>,
@@ -160,6 +161,7 @@ async fn handle_cancel_step_run(
160161
Ok(())
161162
}
162163

164+
#[allow(clippy::too_many_arguments)]
163165
pub(crate) async fn run(
164166
action_function_task_join_set: &mut tokio::task::JoinSet<crate::InternalResult<()>>,
165167
mut dispatcher: DispatcherClient<

src/worker/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ struct TokenClaims {
9393
grpc_broadcast_address: String,
9494
}
9595

96-
fn construct_endpoint_url<'a>(
96+
fn construct_endpoint_url(
9797
tls_strategy: ClientTlStrategy,
98-
host_port_in_environment: Option<&'a str>,
98+
host_port_in_environment: Option<&str>,
9999
token: &secrecy::SecretString,
100100
) -> crate::InternalResult<String> {
101101
use secrecy::ExposeSecret;

0 commit comments

Comments
 (0)