File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -7105,10 +7105,12 @@ coding style.
71057105 </p>
71067106 <ul>
71077107 <li>
7108- If {#syntax#}x{#endsyntax#} is a {#syntax#}type{#endsyntax#}
7109- then {#syntax#}x{#endsyntax#} should be {#syntax#}TitleCase{#endsyntax#}, unless it
7110- is a {#syntax#}struct{#endsyntax#} with 0 fields and is never meant to be instantiated,
7111- in which case it is considered to be a "namespace" and uses {#syntax#}snake_case{#endsyntax#}.
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#} is considered to be a "namespace" and should be {#syntax#}snake_case{#endsyntax#}.
7110+ </li>
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#}.
71127114 </li>
71137115 <li>
71147116 If {#syntax#}x{#endsyntax#} is callable, and {#syntax#}x{#endsyntax#}'s return type is
@@ -7147,8 +7149,7 @@ const namespace_name = @import("dir_name/file_name.zig");
71477149const TypeName = @import("dir_name/TypeName.zig");
71487150var global_var: i32 = undefined;
71497151const const_name = 42;
7150- const primitive_type_alias = f32;
7151- const string_alias = []u8;
7152+ const PrimitiveTypeAlias = f32;
71527153
71537154const StructName = struct {
71547155 field: i32,
You can’t perform that action at this time.
0 commit comments