authorgravatar for 122003158+Zirunis@users.noreply.github.comZirunis <122003158+Zirunis@users.noreply.github.com> 2025-11-09 04:44:05+01:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2025-11-09 04:44:05+01:00
log4dcc8a80a9a3581ac644f0438dded918db13bb50
tree214d9470d0a0c81b319330ee90526ac7330dc515
parent07f50c0351618f75c516182979d06a70d7b567bf
signaturebadge-check Signed by PGP key B5690EEEBB952194

Simplified and unified sentence structure of the naming convention logic


1 files changed, 6 insertions(+), 4 deletions(-)

doc/langref.html.in+6-4
...@@ -7105,10 +7105,12 @@ coding style....@@ -7105,10 +7105,12 @@ coding style.
7105 </p>7105 </p>
7106 <ul>7106 <ul>
7107 <li>7107 <li>
7108 If {#syntax#}x{#endsyntax#} is a {#syntax#}type{#endsyntax#} (or {#syntax#}type{#endsyntax#} alias)7108 If {#syntax#}x{#endsyntax#} is a {#syntax#}struct{#endsyntax#} with 0 fields and is never meant to be instantiated
7109 then {#syntax#}x{#endsyntax#} should be {#syntax#}TitleCase{#endsyntax#}, unless it7109 then {#syntax#}x{#endsyntax#} is considered to be a "namespace" and should be {#syntax#}snake_case{#endsyntax#}.
7110 is a {#syntax#}struct{#endsyntax#} with 0 fields and is never meant to be instantiated,7110 </li>
7111 in which case it is considered to be a "namespace" and uses {#syntax#}snake_case{#endsyntax#}.7111 <li>
7112 If {#syntax#}x{#endsyntax#} is a {#syntax#}type{#endsyntax#} or {#syntax#}type{#endsyntax#} alias
7113 then {#syntax#}x{#endsyntax#} should be {#syntax#}TitleCase{#endsyntax#}.
7112 </li>7114 </li>
7113 <li>7115 <li>
7114 If {#syntax#}x{#endsyntax#} is callable, and {#syntax#}x{#endsyntax#}'s return type is7116 If {#syntax#}x{#endsyntax#} is callable, and {#syntax#}x{#endsyntax#}'s return type is