mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-17 01:51:39 +09:00
String::len() returns number of bytes and not number of chars, so it doens't work as expected for unicode strings. Also, added a test that would have triggered the bug.