Skip to main content

Module utf8

Module utf8 

Source
Expand description

Char-boundary helpers.

str::floor_char_boundary and str::ceil_char_boundary stabilized in Rust 1.91. This workspace’s MSRV is 1.88, so the same behavior lives here.

Functions§

ceil_char_boundary
Smallest char boundary at or after index.
floor_char_boundary
Largest char boundary at or before index.