diff options
-rw-r--r-- | doc/go_spec.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html index e080c9577..3f78f63ca 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1659,7 +1659,7 @@ The receiver type must be of the form <code>T</code> or <code>*T</code> where <code>T</code> is a type name. <code>T</code> is called the <i>receiver base type</i> or just <i>base type</i>. The base type must not be a pointer or interface type and must be -declared in the same source file as the method. +declared in the same package as the method. The method is said to be <i>bound</i> to the base type and is visible only within selectors for that type (§<a href="#Type_declarations">Type declarations</a>, §<a href="#Selectors">Selectors</a>). |