From dd083dd5028d099dec18bc256b398e73dbcf2217 Mon Sep 17 00:00:00 2001 From: Richy McGregor Date: Fri, 6 Oct 2023 01:37:00 +1000 Subject: [PATCH] chore: Fix typos --- core/src/avm1/globals/transform.rs | 2 +- core/src/display_object/edit_text.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/avm1/globals/transform.rs b/core/src/avm1/globals/transform.rs index 98a9d9fa8..6dd3d5273 100644 --- a/core/src/avm1/globals/transform.rs +++ b/core/src/avm1/globals/transform.rs @@ -21,7 +21,7 @@ pub struct TransformObject<'gc> { impl<'gc> TransformObject<'gc> { fn new(activation: &mut Activation<'_, 'gc>, args: &[Value<'gc>]) -> Option { let clip = match args { - // `Tranform` constructor accepts exactly 1 argument. + // `Transform` constructor accepts exactly 1 argument. [Value::MovieClip(clip)] => Some(*clip), [Value::Object(clip)] => { let stage_object = clip.as_stage_object()?; diff --git a/core/src/display_object/edit_text.rs b/core/src/display_object/edit_text.rs index b5e133030..49b84106b 100644 --- a/core/src/display_object/edit_text.rs +++ b/core/src/display_object/edit_text.rs @@ -746,7 +746,7 @@ impl<'gc> EditText<'gc> { /// Relayout the `EditText`. /// - /// This function operats exclusively with the text-span representation of + /// This function operates exclusively with the text-span representation of /// the text, and no higher-level representation. Specifically, CSS should /// have already been calculated and applied to HTML trees lowered into the /// text-span representation.