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
Hi, split_at_safe appears to be broken, always splitting at 3 characters to eot.
use unicode_linebreak::split_at_safe;
fn main() {
let v = vec!["testing", "4321", "a longer sentence 987654321"];
for s in v {
let (prev, safe) = split_at_safe(s);
println!("{}={}", prev, safe);
}
}
results
test=ing
4=321
a longer sentence 987654=321
The text was updated successfully, but these errors were encountered:
Hi,
split_at_safe
appears to be broken, always splitting at 3 characters to eot.results
The text was updated successfully, but these errors were encountered: