Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
vigoo committed Dec 22, 2024
1 parent 438150f commit be989e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions golem-cli/src/service/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ async fn to_invoke_result_view<ProjectContext: Send + Sync>(
InvokeResultView::try_parse_or_json(res, &component, function)
}

#[allow(clippy::large_enum_variant)]
enum AsyncComponentRequest {
Empty,
Resolved(Component),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -875,6 +875,7 @@ impl WasmRpcEntryPayload {
}
}

#[allow(clippy::borrowed_box)]
pub fn demand(&self) -> &Box<dyn RpcDemand> {
match self {
Self::Interface { demand, .. } => demand,
Expand Down

0 comments on commit be989e5

Please sign in to comment.