From 998a98984b5b32a0cab53e0fd690b5a01683db6a Mon Sep 17 00:00:00 2001 From: Baokun Lee Date: Thu, 27 Jun 2019 11:49:43 +0800 Subject: [PATCH] fmt: fix typo in errors.go Fixes #32802 Change-Id: I756ca49285130b45777bd29de440db296d9632e9 Reviewed-on: https://go-review.googlesource.com/c/go/+/184057 Run-TryBot: Baokun Lee TryBot-Result: Gobot Gobot Reviewed-by: Dmitri Shuralyov --- src/fmt/errors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fmt/errors.go b/src/fmt/errors.go index 6ae6c47fd9..466a620353 100644 --- a/src/fmt/errors.go +++ b/src/fmt/errors.go @@ -12,7 +12,7 @@ import "errors" // If the format specifier includes a %w verb with an error operand, // the returned error will implement an Unwrap method returning the operand. It is // invalid to include more than one %w verb or to supply it with an operand -// that does not implement the error innterface. The %w verb is otherwise +// that does not implement the error interface. The %w verb is otherwise // a synonym for %v. func Errorf(format string, a ...interface{}) error { p := newPrinter() -- 2.50.0