From 27543688735375e86a5f35c0217251bf68e9a438 Mon Sep 17 00:00:00 2001 From: yuyi Date: Sun, 5 Dec 2021 12:21:39 +0800 Subject: [PATCH] ast: correct comments of the find_field_from_embeds (#12723) --- vlib/v/ast/table.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/ast/table.v b/vlib/v/ast/table.v index 4b89f21991..2c2483d1ae 100644 --- a/vlib/v/ast/table.v +++ b/vlib/v/ast/table.v @@ -502,7 +502,7 @@ pub fn (t &Table) find_field(s &TypeSymbol, name string) ?StructField { return none } -// find_field_from_embeds is the same as find_field_from_embeds but also looks into nested embeds +// find_field_from_embeds tries to find a field in the nested embeds pub fn (t &Table) find_field_from_embeds(sym &TypeSymbol, field_name string) ?(StructField, []Type) { if sym.info is Struct { mut found_fields := []StructField{}