Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchronicity1111 authored May 15, 2024
1 parent ece6861 commit 83c415c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Semicolon after Struct/readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Why do Structs require a Semicolon after the closing bracket '}'? It looks ugly! And is incongruent with Function & Class definitions which Do NOT require a closing semicolon!
Why do Structs require a Semicolon after the closing bracket '}'? It looks ugly! And is incongruent with Function & Class definitions which Do NOT require a closing semicolon! Every field definition within the Struct ends in a semicolon already, so a final extra one is redundant!

https://stackoverflow.com/questions/5675208/expected-initializer-before-function-name

Expand Down

0 comments on commit 83c415c

Please sign in to comment.