From ee122643872b2a5958233cfeb24172c181d10be6 Mon Sep 17 00:00:00 2001 From: Henrique Dante de Almeida Date: Sat, 27 Aug 2022 11:44:05 -0300 Subject: [PATCH] docs: Remove mention of type inference on anytype struct fields It was removed from the language. --- doc/langref.html.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index 7a540a15f1..0d10119cb7 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -11793,8 +11793,8 @@ fn readU32Be() u32 {}
{#syntax#}anytype{#endsyntax#}
- 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.