Closed
Description
Line 833 in f58b02a
The documentation on how specifically len()
can be used to determine the size of a string type in bytes can be confusing as this would make you expect that len("go")
would return 16
(like unsafe.Sizeof("go")
would) but actually gives you 2
I would like to ask for a better phrasing of how to use len()
on string type in the docs