Function preserves::error::io_syntax_error

source ·
pub fn io_syntax_error(s: &str) -> Error
Expand description

Produce a syntax error (io::ErrorKind::InvalidData) bearing the message s