authorgravatar for hdante@gmail.comHenrique Dante de Almeida <hdante@gmail.com> 2022-08-27 11:44:05-03:00
committergravatar for mail@isaacfreund.comIsaac Freund <mail@isaacfreund.com> 2022-08-27 20:34:13+02:00
logee122643872b2a5958233cfeb24172c181d10be6
tree57e39fdeb55ccb6b47753ca84e7b0f3a8d3885d7
parentae8d26a6a00a528bdf555689c2a93cb35a3287f2

docs: Remove mention of type inference on anytype struct fields

It was removed from the language.

1 files changed, 2 insertions(+), 2 deletions(-)

doc/langref.html.in+2-2
......@@ -11793,8 +11793,8 @@ fn readU32Be() u32 {}
1179311793 <pre>{#syntax#}anytype{#endsyntax#}</pre>
1179411794 </th>
1179511795 <td>
11796 Function parameters and struct fields can be declared with {#syntax#}anytype{#endsyntax#} in place of the type.
11797 The type will be inferred where the function is called or the struct is instantiated.
11796 Function parameters can be declared with {#syntax#}anytype{#endsyntax#} in place of the type.
11797 The type will be inferred where the function is called.
1179811798 <ul>
1179911799 <li>See also {#link|Function Parameter Type Inference#}</li>
1180011800 </ul>