Skip to content

Commit

Permalink
fmt: fix typo in errors.go
Browse files Browse the repository at this point in the history
Fixes golang#32802

Change-Id: I756ca49285130b45777bd29de440db296d9632e9
Reviewed-on: https://go-review.googlesource.com/c/go/+/184057
Run-TryBot: Baokun Lee <[email protected]>
TryBot-Result: Gobot Gobot <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
  • Loading branch information
oiooj authored and dmitshur committed Jun 27, 2019
1 parent f938b9b commit 998a989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fmt/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 998a989

Please sign in to comment.