New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go/types: some small problems in docs #35189
Comments
And in the func (*Scope) LookupParent docs:
The |
It's below in source code, but above in documentation (since godoc displays identifiers in alphabetical order). We can fix this by making it say just "see Insert"; the reader should be able to find |
That does seem more fitting to me too. It's also what https://github.com/golang/example/tree/master/gotypes#selections uses. The current text seems to be close to what @griesemer Do you agree it would be an improvement, or are we missing some context? /cc @dominikh |
Agreed. CL forthcoming. |
Change https://golang.org/cl/204044 mentions this issue: |
In the docs of the selections:
Should the
Type
columns for the second and third line befunc()
andfunc(_ T)
?The text was updated successfully, but these errors were encountered: