Skip to main content

no_eof

Function no_eof 

Source
pub fn no_eof<T>(f: impl FnOnce() -> PResult<T>) -> PResult<T>
Expand description

Opens a scope where ParseError::EOF is unexpected (See PResultExt::no_eof)