Function preserves::error::is_syntax_error

source ยท
pub fn is_syntax_error(e: &Error) -> bool
Expand description

True iff e is a syntax error; see is_syntax_io_error