From f0a0a2888f8df9d50ee60fbf23736a5dd2612cdd Mon Sep 17 00:00:00 2001 From: J8118 Date: Thu, 9 Apr 2026 08:08:54 +0400 Subject: [PATCH] Fix typos in doc comment and benchmark runner - "Wwhether" -> "Whether" in YGNode.h - "independants" -> "independent" in run-bench.ts --- javascript/tests/bin/run-bench.ts | 2 +- yoga/YGNode.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/tests/bin/run-bench.ts b/javascript/tests/bin/run-bench.ts index b7e21fbc4d..f82418e316 100644 --- a/javascript/tests/bin/run-bench.ts +++ b/javascript/tests/bin/run-bench.ts @@ -42,7 +42,7 @@ for (const type of ['wasm']) { } console.log( - `Note: those tests are independants; there is no time relation to be expected between them`, + `Note: those tests are independent; there is no time relation to be expected between them`, ); for (const [name, results] of testResults) { diff --git a/yoga/YGNode.h b/yoga/YGNode.h index de797b82c3..8ff3130c3c 100644 --- a/yoga/YGNode.h +++ b/yoga/YGNode.h @@ -257,7 +257,7 @@ YG_EXPORT bool YGNodeIsReferenceBaseline(YGNodeConstRef node); YG_EXPORT void YGNodeSetNodeType(YGNodeRef node, YGNodeType nodeType); /** - * Wwhether a leaf node's layout results may be truncated during layout + * Whether a leaf node's layout results may be truncated during layout * rounding. */ YG_EXPORT YGNodeType YGNodeGetNodeType(YGNodeConstRef node);