Skip to main content

slice_unchecked

Function slice_unchecked 

Source
pub const unsafe fn slice_unchecked(s: &Wtf8, begin: usize, end: usize) -> &Wtf8
Expand description

Copied from core::str::raw::slice_unchecked

ยงSafety

begin and end must be within bounds and on codepoint boundaries.