Skip to content

Commit

Permalink
small docs fixes on an internal component.
Browse files Browse the repository at this point in the history
(This type isn't really "embedded" in the others directly, so those
docs were somewhat confusing.)
  • Loading branch information
warpfork committed Sep 2, 2020
1 parent 70b3bdd commit 09fc5cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions schema/gen/go/mixins/kindTraits.go
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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,
Expand Down

0 comments on commit 09fc5cd

Please sign in to comment.