Skip to content

Commit c5c673b

Browse files
floventHerrCai0907
andauthored
Update clang-tools-extra/docs/clang-tidy/checks/modernize/use-structured-binding.rst
Co-authored-by: Congcong Cai <[email protected]>
1 parent 36011dd commit c5c673b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang-tools-extra/docs/clang-tidy/checks/modernize/use-structured-binding.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ in a range-based for loop:
3939

4040
.. code-block:: c++
4141

42-
for (autop : vecOfPairs) {
42+
for (auto p : vecOfPairs) {
4343
int x = p.first;
4444
int y = p.second;
4545
// ...

0 commit comments

Comments
 (0)