fix clippy (#7302)
# Objective - `cargo clippy` should work (except for clippy::type_complexity) ## Solution - fix new clippy lints
This commit is contained in:
parent
0804136dcd
commit
02637b609e
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -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,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user