Function floor_char_boundary
pub fn floor_char_boundary(s: &str, max_bytes: usize) -> usize👎Deprecated since 0.8.4:
use str::floor_char_boundary instead
Expand description
Returns the largest UTF-8 character boundary at or before max_bytes.
This compatibility wrapper preserves the previously exported helper while directing new callers to the standard-library implementation.