From 7559231edc438c5cdc12c97198b1e202348b651e Mon Sep 17 00:00:00 2001 From: Pontus Leitzler Date: Sun, 19 Sep 2021 18:26:11 +0200 Subject: [PATCH] internal/lsp/command: fix typo in comment Fix a typo in docs for MarshalArgs in internal/lsp/command. Change-Id: Ib11a31f27b4ebb03b6eecd996ccf600154cd3cd0 Reviewed-on: https://go-review.googlesource.com/c/tools/+/350551 Reviewed-by: Peter Weinberger Trust: Peter Weinberger Trust: Pontus Leitzler --- internal/lsp/command/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/lsp/command/util.go b/internal/lsp/command/util.go index 5915b9b70..dc9f22fad 100644 --- a/internal/lsp/command/util.go +++ b/internal/lsp/command/util.go @@ -25,7 +25,7 @@ func (c Command) ID() string { // // Example usage: // -// jsonArgs, err := EncodeArgs(1, "hello", true, StructuredArg{42, 12.6}) +// jsonArgs, err := MarshalArgs(1, "hello", true, StructuredArg{42, 12.6}) // func MarshalArgs(args ...interface{}) ([]json.RawMessage, error) { var out []json.RawMessage