From 4e6e28f78c2ddda2cd905ba426eae6e94df813d9 Mon Sep 17 00:00:00 2001 From: sleepycatcoding <131554884+sleepycatcoding@users.noreply.github.com> Date: Sun, 27 Aug 2023 21:13:59 +0300 Subject: [PATCH] avm2: Correct comment --- core/src/avm2/globals/xml.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/avm2/globals/xml.rs b/core/src/avm2/globals/xml.rs index 186d593b9..79c5b374b 100644 --- a/core/src/avm2/globals/xml.rs +++ b/core/src/avm2/globals/xml.rs @@ -624,7 +624,7 @@ pub fn replace<'gc>( // NOTE: Since this part of the E4X spec is annoying to implement in Rust without borrow errors, we do it a bit differently. // 1. First we will get the first elements index that matches our multiname. - // 2. Then we will delete all other matches. + // 2. Then we will delete all matches. // 2. And then we insert a dummy E4XNode at the previously stored index, and use the replace method to correct it. let index =