On Sun, Nov 7, 2021 at 7:23 PM Kamil Ziemian <kziemian...@gmail.com> wrote:

> Can anyone give me explicit example when semicolon is omitted in accordance 
> to the second rule and explanation where it should be? I probably see such 
> situations dozens of times, I just not know that they would needed semicolon 
> in some places.

I think this is a simple example: https://play.golang.org/p/ZfKxTos6GjY

Click "Run" to see the code is valid, then "Format" to watch one
semicolon disappear and then "Run" again to see it's still valid code.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAA40n-UoYGfj34k8XH%2Bq3q%2BCjpwuTAMMZyAN-Bp0ucuU20fRAQ%40mail.gmail.com.

Reply via email to