doc: fix minor embedded struct typo (#20678)

This commit is contained in:
Kim Shrier 2024-01-27 14:24:08 -07:00 committed by GitHub
parent 88e413ca5b
commit af2fbafecc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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`.