diff --git a/doc/effective_go.html b/doc/effective_go.html index 4dd1a3e017f..d6be37994b1 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -866,7 +866,7 @@ var t interface{} t = functionOfSomeType() switch t := t.(type) { default: - fmt.Printf("unexpected type %T", t) // %T prints whatever type t has + fmt.Printf("unexpected type %T\n", t) // %T prints whatever type t has case bool: fmt.Printf("boolean %t\n", t) // t has type bool case int: