The current text for stringview_wtf16.slice says "Return a substring of view, for the WTF-16 code units starting at offset start and not greater than end". However this is annoying:
I think I would expect a slice from 0 to 0 to be the empty string. So I guess the wording should be "starting at offset start and less than end", or something similar.
The current text for
stringview_wtf16.slice
says "Return a substring of view, for the WTF-16 code units starting at offset start and not greater than end". However this is annoying:I think I would expect a slice from 0 to 0 to be the empty string. So I guess the wording should be "starting at offset start and less than end", or something similar.