mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +00:00
docs: Remove mention of type inference on anytype struct fields
It was removed from the language.
This commit is contained in:
parent
ae8d26a6a0
commit
ee12264387
@ -11793,8 +11793,8 @@ fn readU32Be() u32 {}
|
|||||||
<pre>{#syntax#}anytype{#endsyntax#}</pre>
|
<pre>{#syntax#}anytype{#endsyntax#}</pre>
|
||||||
</th>
|
</th>
|
||||||
<td>
|
<td>
|
||||||
Function parameters and struct fields can be declared with {#syntax#}anytype{#endsyntax#} in place of the type.
|
Function parameters can be declared with {#syntax#}anytype{#endsyntax#} in place of the type.
|
||||||
The type will be inferred where the function is called or the struct is instantiated.
|
The type will be inferred where the function is called.
|
||||||
<ul>
|
<ul>
|
||||||
<li>See also {#link|Function Parameter Type Inference#}</li>
|
<li>See also {#link|Function Parameter Type Inference#}</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
Reference in New Issue
Block a user