]> Cypherpunks repositories - gostls13.git/commitdiff
doc: add some missing HTML tags in the FAQ
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 20 Sep 2016 21:52:11 +0000 (21:52 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 20 Sep 2016 23:01:12 +0000 (23:01 +0000)
Fixes #17170

Change-Id: I939f087df133710495fdf6f09040051cb9b176d7
Reviewed-on: https://go-review.googlesource.com/29442
Reviewed-by: Ian Lance Taylor <iant@golang.org>
doc/go_faq.html

index 921c0b8a7c6df6adcf75851bcd29eda158b89f3c..450a521681e1eb9937f6a3097e9ddd2c033c009f 100644 (file)
@@ -889,6 +889,7 @@ Why does Go not have covariant result types?</h3>
 
 <p>
 Covariant result types would mean that an interface like
+</p>
 
 <pre>
 type Copyable interface {
@@ -896,7 +897,9 @@ type Copyable interface {
 }
 </pre>
 
+<p>
 would be satisfied by the method
+</p>
 
 <pre>
 func (v Value) Copy() Value