SIGN IN SIGN UP

docs: add a more precise example in enum doc (GH-121015)

* docs: add a more precise example

Previous example used manual integer value assignment in class based declaration but in functional syntax has been used auto value assignment what could be confusing for the new users. Additionally documentation doesn't show how to declare new enum via functional syntax with usage of the manual value assignment.

* docs: remove whitespace characters

* refactor: change example

---------

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
F
Filip "Ret2Me" Poplewski committed
ff257c7843d8ed0dffb6624f2f14996a46e74801
Parent: 37651cf
Committed by GitHub <noreply@github.com> on 11/1/2024, 7:28:50 PM