You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>
Covariant result types would mean that an interface like
</p>
<pre>
type Copyable interface {
Copy() interface{}
}
</pre>
<p>
would be satisfied by the method
</p>
fixes this:
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?1.7.1
What did you expect to see?
A body text layout as for the rest of the FAQ, for instance in the "Why is my nil error value not equal to nil?" section:
What did you see instead?
Text that's to the left and right of what's considered the text margins for the FAQ body:
Fix
The inconsistent use of
<p>
tags is the cause of the difference; see the covariant return section compared with the nil error value section.Changing the relevant HTML to:
fixes this:
The text was updated successfully, but these errors were encountered: