vec: fix iterate comment
commite4e053a63b153039a7905901806a4f4a3154988b
authorJason Merrill <jason@redhat.com>
Thu, 5 May 2022 15:45:42 +0000 (5 11:45 -0400)
committerJason Merrill <jason@redhat.com>
Fri, 6 May 2022 20:33:58 +0000 (6 16:33 -0400)
tree636f3ebe0205861156e7900127653a510852dfd0
parent967cdbe66296535fa496b88406a1125c8acaf6e2
vec: fix iterate comment

The comment for this overload, which copies the value out of the vector,
was mostly describing the other overload, which stores a pointer into the
vector.

gcc/ChangeLog:

* vec.h (vec::iterate): Fix comment.
gcc/vec.h