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 {}...@@ -11793,8 +11793,8 @@ fn readU32Be() u32 {}
11793 <pre>{#syntax#}anytype{#endsyntax#}</pre>11793 <pre>{#syntax#}anytype{#endsyntax#}</pre>
11794 </th>11794 </th>
11795 <td>11795 <td>
11796 Function parameters and struct fields can be declared with {#syntax#}anytype{#endsyntax#} in place of the type.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 or the struct is instantiated.11797 The type will be inferred where the function is called.
11798 <ul>11798 <ul>
11799 <li>See also {#link|Function Parameter Type Inference#}</li>11799 <li>See also {#link|Function Parameter Type Inference#}</li>
11800 </ul>11800 </ul>