From 4522d4b8aa135ddfffc57c9628ca7229592172f8 Mon Sep 17 00:00:00 2001 From: Aljoscha Meyer Date: Wed, 22 Feb 2017 12:46:29 -0800 Subject: [PATCH] Fix a typo in C API documentation Summary: Change "Certain nodes need *to* ability to measure themselves" to "Certain nodes need *the* ability to measure themselves". Closes https://github.com/facebook/yoga/pull/430 Differential Revision: D4600091 Pulled By: emilsjolander fbshipit-source-id: d20693b47291e79bd8c5f76e57d6dff2444333d2 --- docs/_docs/api/c.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_docs/api/c.md b/docs/_docs/api/c.md index 3161472b..79b828ed 100644 --- a/docs/_docs/api/c.md +++ b/docs/_docs/api/c.md @@ -35,7 +35,7 @@ Once you have set up a tree of nodes with styles you will want to get the result ### Custom measurements -Certain nodes need to ability to measure themselves, the most common example is nodes which represent text. Text has an intrinsic size and requires measuring itself to determine that size. This is not something Yoga can do as it requires relying on the host system's text rendering engine. +Certain nodes need the ability to measure themselves, the most common example is nodes which represent text. Text has an intrinsic size and requires measuring itself to determine that size. This is not something Yoga can do as it requires relying on the host system's text rendering engine. - Call `YGNodeMarkDirty` if a node with a custom text measurement function needs to be re-measured during the next layout pass.