From af2fbafecc9cb080eab53fa06da01a696af25b3a Mon Sep 17 00:00:00 2001 From: Kim Shrier Date: Sat, 27 Jan 2024 14:24:08 -0700 Subject: [PATCH] doc: fix minor embedded struct typo (#20678) --- doc/docs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/docs.md b/doc/docs.md index 07c7560008..90821823b6 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -2672,7 +2672,7 @@ Button{ ``` Unlike inheritance, you cannot type cast between structs and embedded structs -(the embedding struct can also has its own fields, and it can also embed multiple structs). +(the embedding struct can also have its own fields, and it can also embed multiple structs). If you need to access embedded structs directly, use an explicit reference like `button.Size`.