skip_comment_or_empty

Function skip_comment_or_empty 

Source
pub fn skip_comment_or_empty(line: &str) -> bool
Expand description

What: Check if a line should be skipped (empty or comment).

Inputs:

  • line: Line to check

Output:

  • true if the line should be skipped, false otherwise

Details:

  • Skips empty lines and lines starting with #, //, or ;