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
Rust str are indexed by byte, so doing .take().count()
is incorrect since Unicode values are often multiple
bytes. This fixes it and adds tests for the edge
cases.
0 commit comments