commit 4dcc8a80a9a3581ac644f0438dded918db13bb50 (tree) parent 07f50c0351618f75c516182979d06a70d7b567bf Author: Zirunis <122003158+Zirunis@users.noreply.github.com> Date: Sun, 9 Nov 2025 04:44:05 +0100 Simplified and unified sentence structure of the naming convention logic Diffstat:
| M | doc/langref.html.in | | | 10 | ++++++---- |
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/doc/langref.html.in b/doc/langref.html.in @@ -7105,10 +7105,12 @@ coding style. </p> <ul> <li> - If {#syntax#}x{#endsyntax#} is a {#syntax#}type{#endsyntax#} (or {#syntax#}type{#endsyntax#} alias) - then {#syntax#}x{#endsyntax#} should be {#syntax#}TitleCase{#endsyntax#}, unless it - is a {#syntax#}struct{#endsyntax#} with 0 fields and is never meant to be instantiated, - in which case it is considered to be a "namespace" and uses {#syntax#}snake_case{#endsyntax#}. + If {#syntax#}x{#endsyntax#} is a {#syntax#}struct{#endsyntax#} with 0 fields and is never meant to be instantiated + then {#syntax#}x{#endsyntax#} is considered to be a "namespace" and should be {#syntax#}snake_case{#endsyntax#}. + </li> + <li> + If {#syntax#}x{#endsyntax#} is a {#syntax#}type{#endsyntax#} or {#syntax#}type{#endsyntax#} alias + then {#syntax#}x{#endsyntax#} should be {#syntax#}TitleCase{#endsyntax#}. </li> <li> If {#syntax#}x{#endsyntax#} is callable, and {#syntax#}x{#endsyntax#}'s return type is