Skip to content
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

builtin: document when len and cap are constant #27588

Closed
dsnet opened this issue Sep 9, 2018 · 1 comment
Closed

builtin: document when len and cap are constant #27588

dsnet opened this issue Sep 9, 2018 · 1 comment

Comments

@dsnet
Copy link
Member

@dsnet dsnet commented Sep 9, 2018

Similar to #27587. The Go specification documents that len and cap are constants in certain circumstances. However, it is not clear from the documentation of the builtin package that these are constants. Perhaps we should document them as such?

@robpike robpike self-assigned this Sep 10, 2018
@gopherbot
Copy link

@gopherbot gopherbot commented Sep 17, 2018

Change https://golang.org/cl/135519 mentions this issue: builtin: document when len and cap are constant

@gopherbot gopherbot closed this in 37db664 Sep 18, 2018
@golang golang locked and limited conversation to collaborators Sep 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants