You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: