mirror of
https://github.com/ziglang/zig.git
synced 2024-11-14 16:13:24 +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>
|
||||
</th>
|
||||
<td>
|
||||
Function parameters and struct fields 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.
|
||||
Function parameters can be declared with {#syntax#}anytype{#endsyntax#} in place of the type.
|
||||
The type will be inferred where the function is called.
|
||||
<ul>
|
||||
<li>See also {#link|Function Parameter Type Inference#}</li>
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user