Skip to main content

invalid_utf8

Function invalid_utf8 

Source
pub fn invalid_utf8(error: impl Display) -> String
Expand description

The reason text_from_bytes stops a program whose bytes are not UTF-8: the decoder’s own account of where they stop being it.