From a639ca09a73cfa1b3fe66a8d97a104efd554ee83 Mon Sep 17 00:00:00 2001 From: Kim Shrier Date: Sat, 6 Jan 2024 09:21:48 -0700 Subject: [PATCH] doc: fix typo in embedded structs description (#20407) --- doc/docs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/docs.md b/doc/docs.md index 80a3ee8221..ec93469c2d 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -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