From ae956f06fb3cbdb9bba5da67a6da1c130c082901 Mon Sep 17 00:00:00 2001 From: Min ho Kim Date: Tue, 23 Jul 2019 03:19:41 -0700 Subject: [PATCH] Fix typos (#25770) Summary: Fix typos mostly in comments and some string literals. ## Changelog [General] [Fixed] - Fix typos Pull Request resolved: https://github.com/facebook/react-native/pull/25770 Differential Revision: D16437857 Pulled By: cpojer fbshipit-source-id: ffeb4d6b175e341381352091134f7c97d78c679f --- yoga/Utils.h | 6 +++--- yoga/Yoga.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/yoga/Utils.h b/yoga/Utils.h index d6fbc268..899e832a 100644 --- a/yoga/Utils.h +++ b/yoga/Utils.h @@ -30,7 +30,7 @@ // // - endOfLineIndex: Its the end index of the last flex item which was examined // and it may or may not be part of the current line(as it may be absolutely -// positioned or inculding it may have caused to overshoot availableInnerDim) +// positioned or including it may have caused to overshoot availableInnerDim) // // - relativeChildren: Maintain a vector of the child nodes that can shrink // and/or grow. @@ -71,8 +71,8 @@ YGFloatOptional YGFloatOptionalMax( float YGFloatMin(const float a, const float b); -// This custom float comparision function compares the array of float with -// YGFloatsEqual, as the default float comparision operator will not work(Look +// This custom float comparison function compares the array of float with +// YGFloatsEqual, as the default float comparison operator will not work(Look // at the comments of YGFloatsEqual function). template bool YGFloatArrayEqual( diff --git a/yoga/Yoga.h b/yoga/Yoga.h index 6ec796d8..493e556c 100644 --- a/yoga/Yoga.h +++ b/yoga/Yoga.h @@ -330,7 +330,7 @@ WIN_EXPORT bool YGConfigIsExperimentalFeatureEnabled( YGConfigRef config, YGExperimentalFeature feature); -// Using the web defaults is the prefered configuration for new projects. Usage +// Using the web defaults is the preferred configuration for new projects. Usage // of non web defaults should be considered as legacy. WIN_EXPORT void YGConfigSetUseWebDefaults(YGConfigRef config, bool enabled); WIN_EXPORT bool YGConfigGetUseWebDefaults(YGConfigRef config);