From 09fc5cd8fc2378e9f949e63ee8d6d74a7d289d05 Mon Sep 17 00:00:00 2001 From: Eric Myhre Date: Wed, 2 Sep 2020 12:11:45 +0200 Subject: [PATCH] small docs fixes on an internal component. (This type isn't really "embedded" in the others directly, so those docs were somewhat confusing.) --- schema/gen/go/mixins/kindTraits.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schema/gen/go/mixins/kindTraits.go b/schema/gen/go/mixins/kindTraits.go index e520eff9..4b436097 100644 --- a/schema/gen/go/mixins/kindTraits.go +++ b/schema/gen/go/mixins/kindTraits.go @@ -6,7 +6,7 @@ import ( ipld "github.com/ipld/go-ipld-prime" ) -// kindTraitsGenerator is a embedded in all the other mixins, +// kindTraitsGenerator is the center of all the other mixins, // and handles all the method generation which is a pure function of the kind. // // OVERRIDE THE METHODS THAT DO APPLY TO YOUR KIND; @@ -17,7 +17,7 @@ import ( // If you're implementing something that can hold "any" kind, // probably none of these methods apply to you at all. // -// The other types in this package embed kindTraitsGenerator with a name, +// The other types in this package use kindTraitsGenerator with a fixed Kind, // and only forward the methods to it that don't apply for their kind; // this means when they're used as an anonymous embed, they grant // all the appropriate dummy methods to their container,