diff options
Diffstat (limited to 'src/cmd/go/internal/modinfo/info.go')
-rw-r--r-- | src/cmd/go/internal/modinfo/info.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/go/internal/modinfo/info.go b/src/cmd/go/internal/modinfo/info.go index 336f99245a..ee73c5e07b 100644 --- a/src/cmd/go/internal/modinfo/info.go +++ b/src/cmd/go/internal/modinfo/info.go @@ -43,7 +43,7 @@ type moduleErrorNoMethods ModuleError // UnmarshalJSON accepts both {"Err":"text"} and "text", // so that the output of go mod download -json can still -// be unmarshalled into a ModulePublic during -reuse processing. +// be unmarshaled into a ModulePublic during -reuse processing. func (e *ModuleError) UnmarshalJSON(data []byte) error { if len(data) > 0 && data[0] == '"' { return json.Unmarshal(data, &e.Err) |