-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
The documentation on the Marker::index field says it's in chars, but the documentation on the Marker::index method says it's in bytes. Which is it?
A quick look suggests the answer is "chars." This is unfortunate, in my opinion, because byte indices are more efficient for most purposes (if you have a str input, for example, you can slice it in constant time). But either way, the doc comments shouldn't conflict with one another...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels