Commit e7191479 authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

doc: add some missing HTML tags in the FAQ

Fixes #17170

Change-Id: I939f087df133710495fdf6f09040051cb9b176d7
Reviewed-on: https://go-review.googlesource.com/29442Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
parent dd24b109
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment