Skip to content

Commit 72e7ea5

Browse files
committed
chore: Fix clippy::needless_borrows_for_generic_args beta lint
1 parent f93deed commit 72e7ea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/avm2/globals/flash/display/shader_parameter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pub fn make_shader_parameter<'gc>(
2525
.shaderparameter
2626
.construct(activation, &[])?;
2727
let type_name =
28-
AvmString::new_utf8(activation.context.gc_context, &param_type.to_string());
28+
AvmString::new_utf8(activation.context.gc_context, param_type.to_string());
2929

3030
obj.set_property(&Multiname::new(ns, "_index"), index.into(), activation)?;
3131
obj.set_property(&Multiname::new(ns, "_type"), type_name.into(), activation)?;

0 commit comments

Comments
 (0)