Skip to main content

count_lines

Function count_lines 

Source
pub fn count_lines(
    text: &str,
    language: Option<Language>,
) -> (usize, usize, usize)
Expand description

(code, comments, blanks). A line counts as a comment only when it opens with one, as scc and cloc count.