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
Strings in rust contain utf-8 encoded characters. Which is a variable character length encoding. So
letmut index = indicium::simple::SearchIndex::<usize>::default();
index.search("лол");// lol in Cyrillic
causes an error
thread 'main' panicked at indicium-0.6.1/src/simple/internal/strsim/strsim_context_autocomplete.rs:51:30:
byte index 3 is not a char boundary; it is inside 'о' (bytes 2..4) of `лол`
Strings in rust contain utf-8 encoded characters. Which is a variable character length encoding. So
causes an error
Here's an example of an internal representation:
The text was updated successfully, but these errors were encountered: