diff --git a/pkg/module/module.go b/pkg/module/module.go index d5191a4bde..ee6f2ed6aa 100644 --- a/pkg/module/module.go +++ b/pkg/module/module.go @@ -192,7 +192,7 @@ func ptrSizeToString(mem api.Memory, ptrSize uint64) (string, error) { return string(buf), nil } -// stringToPtr returns a pointer and size pair for the given string in a way compatible with WebAssembly numeric types. +// stringToPtrSize returns a pointer and size pair for the given string in a way compatible with WebAssembly numeric types. // The caller is responsible for calling free at some point if needed. func stringToPtrSize(ctx context.Context, s string, mod api.Module, malloc api.Function) (uint64, uint64, error) { size := uint64(len(s)) diff --git a/pkg/notification/response.go b/pkg/notification/response.go index 7eecf5395a..fcd49d51fd 100644 --- a/pkg/notification/response.go +++ b/pkg/notification/response.go @@ -34,7 +34,7 @@ type updateResponse struct { Warnings []string `json:"warnings"` } -// shoudDisplay checks if the announcement should be displayed +// shouldDisplay checks if the announcement should be displayed // based on the current time and version. If version and date constraints are provided // they are checked against the current time and version. func (a *announcement) shouldDisplay(ctx context.Context, currentVersion semver.Version) bool {