doc: fix typo in embedded structs description (#20407)

This commit is contained in:
Kim Shrier 2024-01-06 09:21:48 -07:00 committed by GitHub
parent 10d738c773
commit a639ca09a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2561,7 +2561,7 @@ struct Button {
}
```
With embedding, the struct `Button` will automatically have get all the fields and methods from
With embedding, the struct `Button` will automatically get all the fields and methods from
the struct `Size`, which allows you to do:
```v oksyntax