Skip to content

Commit

Permalink
Add named returns to Exec
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Jul 21, 2022
1 parent c67a5be commit 23151bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/runtime/wasmer/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ var (
)

// Exec calls the given function with the given data
func (in *Instance) Exec(function string, data []byte) ([]byte, error) {
func (in *Instance) Exec(function string, data []byte) (result []byte, err error) {
in.Lock()
defer in.Unlock()

Expand Down

0 comments on commit 23151bf

Please sign in to comment.