linecount

Function linecount 

Source
pub fn linecount(text: &str) -> usize
Expand description

Returns the number of \n-delimited lines.