Skip to content

Commit

Permalink
Clippy.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubadamw committed Nov 3, 2024
1 parent ab1b78a commit c7f9a3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/worker/listener.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ struct ActionInput<T> {
parents: HashMap<Ustr, serde_json::Value>,
}

#[allow(clippy::too_many_arguments)]
async fn handle_start_step_run(
action_function_task_join_set: &mut tokio::task::JoinSet<crate::InternalResult<()>>,
abort_handles: &mut HashMap<String, tokio::task::AbortHandle>,
Expand Down Expand Up @@ -160,6 +161,7 @@ async fn handle_cancel_step_run(
Ok(())
}

#[allow(clippy::too_many_arguments)]
pub(crate) async fn run(
action_function_task_join_set: &mut tokio::task::JoinSet<crate::InternalResult<()>>,
mut dispatcher: DispatcherClient<
Expand Down
4 changes: 2 additions & 2 deletions src/worker/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ struct TokenClaims {
grpc_broadcast_address: String,
}

fn construct_endpoint_url<'a>(
fn construct_endpoint_url(
tls_strategy: ClientTlStrategy,
host_port_in_environment: Option<&'a str>,
host_port_in_environment: Option<&str>,
token: &secrecy::SecretString,
) -> crate::InternalResult<String> {
use secrecy::ExposeSecret;
Expand Down

0 comments on commit c7f9a3f

Please sign in to comment.