mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
fix typo in @typeName langref
This commit is contained in:
parent
672bc8141f
commit
6255ee3d2f
1 changed files with 1 additions and 1 deletions
|
|
@ -2269,7 +2269,7 @@ or
|
|||
that variable.</li>
|
||||
<li>If the struct is in the {#syntax#}return{#endsyntax#} expression, it gets named after
|
||||
the function it is returning from, with the parameter values serialized.</li>
|
||||
<li>Otherwise, the struct gets a name such as <code>(filename.funcname.__struct_ID)</code>.</li>
|
||||
<li>Otherwise, the struct gets a name such as <code>(filename.funcname__struct_ID)</code>.</li>
|
||||
<li>If the struct is declared inside another struct, it gets named after both the parent
|
||||
struct and the name inferred by the previous rules, separated by a dot.</li>
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue