Fix documentation for "pool" object in gn binary. Followup to comments on https://codereview.chromium.org/2006923004/. BUG=612786 Review-Url: https://codereview.chromium.org/2045713003 Cr-Original-Commit-Position: refs/heads/master@{#398400} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: e9efe32c54352ee81afac228219361eb77c832cf
diff --git a/tools/gn/docs/reference.md b/tools/gn/docs/reference.md index c5b36cf..c29b24f 100644 --- a/tools/gn/docs/reference.md +++ b/tools/gn/docs/reference.md
@@ -2151,8 +2151,8 @@ the number of tasks that may run simultaneously. As the file containing the pool definition may be executed in the - of more than one toolchain it is recommended to specify an explicit - toolchain when definining and referencing a pool. + context of more than one toolchain it is recommended to specify an + explicit toolchain when defining and referencing a pool. A pool is referenced by its label just like a target.
diff --git a/tools/gn/functions.cc b/tools/gn/functions.cc index 24bc2c9..9e8646f 100644 --- a/tools/gn/functions.cc +++ b/tools/gn/functions.cc
@@ -692,8 +692,8 @@ " the number of tasks that may run simultaneously.\n" "\n" " As the file containing the pool definition may be executed in the\n" - " of more than one toolchain it is recommended to specify an explicit\n" - " toolchain when definining and referencing a pool.\n" + " context of more than one toolchain it is recommended to specify an\n" + " explicit toolchain when defining and referencing a pool.\n" "\n" " A pool is referenced by its label just like a target.\n" "\n"