Module str

Source
Expand description

Utilities for the str primitive type.

See also the str primitive type.

Functions§

from_boxed_utf8_unchecked
Converts a boxed slice of bytes to a boxed string slice without checking that the string contains valid UTF-8.
into_string
Converts a Box<str> into a String without copying or allocating.