Skip to main content

skip_spaces

Function skip_spaces 

Source
pub fn skip_spaces() -> Result<()>
Expand description

Discard any run of spaces at the head of the input — Perl Package.pm:SkipSpaces.

Reads past the spaces via read_non_space and pushes the first non-space token back, so the caller’s next read starts on real content. End of input is not an error: there is simply nothing to unread.