diff --git a/doc/go1.11.html b/doc/go1.11.html index e76e21c52e..a1249db475 100644 --- a/doc/go1.11.html +++ b/doc/go1.11.html @@ -299,6 +299,22 @@ func f(v interface{}) { a warning to be printed, and vet to exit with status 1.

+

+ Additionally, go vet + has become more robust when format-checking printf wrappers. + Vet now detects the mistake in this example: +

+ +
+func wrapper(s string, args ...interface{}) {
+	fmt.Printf(s, args...)
+}
+
+func main() {
+	wrapper("%s", 42)
+}
+
+

Trace