Skip to content

Commit 452c21a

Browse files
committed
Add a comment missing from the defer if documentation
1 parent 905e39c commit 452c21a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4459,7 +4459,7 @@ defer if cond {
44594459
}
44604460
defer {
44614461
// This is first evaluated, allowing the prior `defer`s to act, as evaluation
4462-
happens in reverse declaration order.
4462+
// happens in reverse declaration order.
44634463
cond = true
44644464
fmt.println("a") // This will print first.
44654465
}

0 commit comments

Comments
 (0)