]> Cypherpunks repositories - gostls13.git/commit
fmt: remove spelling mistake in example
authorKevin Burke <kev@inburke.com>
Thu, 30 Aug 2018 21:39:45 +0000 (15:39 -0600)
committerKevin Burke <kev@inburke.com>
Thu, 30 Aug 2018 21:59:03 +0000 (21:59 +0000)
commit3eb0b2e80d39f62ac7561e85215e3e7222dba2db
treee207b9dfa409cd9ded0b6d051eeaa15a05c5a7b0
parent04bee230145759a8f7eadff29f16d7443b215114
fmt: remove spelling mistake in example

"someting" is misspelled and the error handling both clobbers the
error that occurs and distracts from the point of the example, which
is to demonstrate how Printf works. It's better to just panic with the
error.

Change-Id: I5fb0a4a1a8b4772cbe0302582fa878d95e3a4060
Reviewed-on: https://go-review.googlesource.com/132376
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/fmt/example_test.go