Commit ee12264387

Henrique Dante de Almeida <hdante@gmail.com>
2022-08-27 16:44:05
docs: Remove mention of type inference on anytype struct fields
It was removed from the language.
1 parent ae8d26a
Changed files (1)
doc/langref.html.in
@@ -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>