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

tour: Possible Typo #1678

Open
benlevycmp opened this issue Dec 31, 2024 · 0 comments
Open

tour: Possible Typo #1678

benlevycmp opened this issue Dec 31, 2024 · 0 comments

Comments

@benlevycmp
Copy link

Context: https://go.dev/tour/moretypes/10

Where it says "The default is zero for the low bound and the length of the slice for the high bound," it seems like the high bound should be the length of the array rather than the length of the slice.

As I understand it, the slice doesn't have a length until it is made, so it doesn't make sense to reference it in it's own creation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant