We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fn slice_not_on_char_boundaries() { let s = "Здравствуйте"; &s[0..1]; }
gives
thread 'main' panicked at 'index 0 and/or 3 in `Здравствуйте` do not lie on character boundary'
To me, "index do not lie" feels weird, should be "does not lie".