Skip to content

builtin: document when len and cap are constant #27588

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

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
Labels
Documentation Issues describing a change to documentation. FrozenDueToAge

Comments

@dsnet
Copy link
Member

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?

@gopherbot gopherbot added the Documentation Issues describing a change to documentation. label Sep 9, 2018
@robpike robpike self-assigned this Sep 10, 2018
@gopherbot
Copy link
Contributor

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

@golang golang locked and limited conversation to collaborators Sep 18, 2019
@rsc rsc unassigned robpike Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation Issues describing a change to documentation. FrozenDueToAge
Projects
None yet
Development

No branches or pull requests

3 participants