Skip to content

Commit 9cc48ef

Browse files
J8118meta-codesync[bot]
authored andcommitted
Fix typos in doc comment and benchmark runner (#1925)
Summary: X-link: facebook/react-native#56396 - "Wwhether" -> "Whether" in YGNode.h - "independants" -> "independent" in run-bench.ts Pull Request resolved: #1925 Reviewed By: cortinico Differential Revision: D100143075 Pulled By: fabriziocucci fbshipit-source-id: 1b20d0010bf9265d95be194613f6962ff31a4ba9
1 parent fb8e618 commit 9cc48ef

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

javascript/tests/bin/run-bench.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ for (const type of ['wasm']) {
4242
}
4343

4444
console.log(
45-
`Note: those tests are independants; there is no time relation to be expected between them`,
45+
`Note: those tests are independent; there is no time relation to be expected between them`,
4646
);
4747

4848
for (const [name, results] of testResults) {

yoga/YGNode.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ YG_EXPORT bool YGNodeIsReferenceBaseline(YGNodeConstRef node);
257257
YG_EXPORT void YGNodeSetNodeType(YGNodeRef node, YGNodeType nodeType);
258258

259259
/**
260-
* Wwhether a leaf node's layout results may be truncated during layout
260+
* Whether a leaf node's layout results may be truncated during layout
261261
* rounding.
262262
*/
263263
YG_EXPORT YGNodeType YGNodeGetNodeType(YGNodeConstRef node);

0 commit comments

Comments
 (0)