Update doc/docs.md

Co-authored-by: JalonSolov <JalonSolov@gmail.com>
pull/13560/head
gcxfd 2022-02-22 21:38:38 +08:00 committed by GitHub
parent 11d73e2a6f
commit 81b8a3ddba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2167,7 +2167,7 @@ It is not recommended to create a bulky base class with a huge number of fields
If multiple embedded structs have methods or fields with the same name,
or if methods or fields with the same name are defined in the struct,
then call or assign embedded struct like `button.Size.area()`.
you can call functions or assign to variables in the embedded struct like `button.Size.area()`.
You can also initialize an embedded struct: