1
0
mirror of https://github.com/golang/go synced 2024-11-17 08:14:48 -07:00

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 <nototon@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
Baokun Lee 2019-06-27 11:49:43 +08:00 committed by Dmitri Shuralyov
parent f938b9b33b
commit 998a98984b

View File

@ -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()