summaryrefslogtreecommitdiffstats
path: root/codegen/methods.go
diff options
context:
space:
mode:
Diffstat (limited to 'codegen/methods.go')
-rw-r--r--codegen/methods.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/codegen/methods.go b/codegen/methods.go
index 38477e333..23994c5f8 100644
--- a/codegen/methods.go
+++ b/codegen/methods.go
@@ -365,7 +365,7 @@ func (m Methods) Imports() []string {
}
// ToMarshalJSON creates a MarshalJSON method for these methods. Any method name
-// matchin any of the regexps in excludes will be ignored.
+// matching any of the regexps in excludes will be ignored.
func (m Methods) ToMarshalJSON(receiver, pkgPath string, excludes ...string) (string, []string) {
var sb strings.Builder