chore: Fix new clippy lints about cloning
This commit is contained in:
parent
e365f48fe2
commit
bac99368be
|
@ -476,7 +476,7 @@ impl<'gc> DisplayPropertyMap<'gc> {
|
|||
set: Option<DisplaySetter<'gc>>,
|
||||
) {
|
||||
let prop = DisplayProperty { get, set };
|
||||
self.0.insert(name.to_string(), prop.clone(), false);
|
||||
self.0.insert(name.to_string(), prop, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -176,7 +176,7 @@ impl WebCanvasRenderBackend {
|
|||
.map_err(|_| "Couldn't make SVG feColorMatrix element")?;
|
||||
|
||||
filter
|
||||
.append_child(&color_matrix.clone())
|
||||
.append_child(&color_matrix)
|
||||
.map_err(|_| "append_child failed")?;
|
||||
|
||||
svg.append_child(&filter)
|
||||
|
|
Loading…
Reference in New Issue