docs: Remove mention of type inference on anytype struct fields

It was removed from the language.
This commit is contained in:
Henrique Dante de Almeida 2022-08-27 11:44:05 -03:00 committed by Isaac Freund
parent ae8d26a6a0
commit ee12264387

View File

@ -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>