| Index: tools/gn/function_foreach.cc
|
| diff --git a/tools/gn/function_foreach.cc b/tools/gn/function_foreach.cc
|
| index 504fa6c737a39bd7e384ae09485bbbe4a5de75db..549ebe407c1ec93287922ab29ecb5ab9c22baa54 100644
|
| --- a/tools/gn/function_foreach.cc
|
| +++ b/tools/gn/function_foreach.cc
|
| @@ -20,7 +20,8 @@ const char kForEach_Help[] =
|
| " }\n"
|
| "\n"
|
| " Executes the loop contents block over each item in the list,\n"
|
| - " assigning the loop_var to each item in sequence.\n"
|
| + " assigning the loop_var to each item in sequence. The loop_var will be\n"
|
| + " a copy so assigning to it will not mutate the list.\n"
|
| "\n"
|
| " The block does not introduce a new scope, so that variable assignments\n"
|
| " inside the loop will be visible once the loop terminates.\n"
|
|
|