chore: Drop unnecessary mut
This commit is contained in:
parent
846b53dc1b
commit
2560bdc804
|
@ -129,8 +129,7 @@ pub fn concat<'gc>(
|
|||
args: &[Value<'gc>],
|
||||
) -> Result<Value<'gc>, Error> {
|
||||
if let Some(this) = this {
|
||||
let mut new_vector_storage =
|
||||
if let Some(vector) = this.as_vector_storage_mut(activation.context.gc_context) {
|
||||
let mut new_vector_storage = if let Some(vector) = this.as_vector_storage() {
|
||||
vector.clone()
|
||||
} else {
|
||||
return Err("Not a vector-structured object".into());
|
||||
|
|
Loading…
Reference in New Issue