-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Currently we implement our own logic to find the smallest index that is a char boundary >= a specified index. There is a standard library method to do this for you, but it is currently nightly-only. Once it is stabilized and supported on our MSRV we should switch to using it.
https://doc.rust-lang.org/std/string/struct.String.html#method.ceil_char_boundary