fix clippy (#7302)

# Objective

- `cargo clippy` should work (except for clippy::type_complexity)

## Solution

- fix new clippy lints
This commit is contained in:
Jakob Hellermann 2023-01-20 14:25:25 +00:00
parent 0804136dcd
commit 02637b609e
2 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ impl From<&'static str> for SlotLabel {
impl From<Cow<'static, str>> for SlotLabel {
fn from(value: Cow<'static, str>) -> Self {
SlotLabel::Name(value.clone())
SlotLabel::Name(value)
}
}

View File

@ -115,7 +115,7 @@ impl RenderGraphRunner {
return Err(RenderGraphRunnerError::MissingInput {
slot_index: i,
slot_name: input_slot.name.clone(),
graph_name: graph_name.clone(),
graph_name,
});
}
}