Skip to content

Commit db2478a

Browse files
authored
Fix incorrect example subheading level in C2601 error reference
1 parent 8b3dcff commit db2478a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/error-messages/compiler-errors-2/compiler-error-c2601.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Or, there may be an extra/missing brace before the location of the C2601 error.
1717

1818
## Examples
1919

20-
## Define function within a function
20+
### Define function within a function
2121

2222
[Lambda Expressions](../../cpp/lambda-expressions-in-cpp.md) may be used to emulate the behavior of local functions:
2323

@@ -37,7 +37,7 @@ int main()
3737
}
3838
```
3939

40-
## Missing closing brace
40+
### Missing closing brace
4141

4242
If a preceding function is missing a closing brace, the subsequent function is taken to be a local function:
4343

0 commit comments

Comments
 (0)