Skip to main content

count_lines

Function count_lines 

Source
pub fn count_lines(block: &Block) -> usize
Expand description

Count the number of source lines in a block.

Returns the span of lines from start to end of the block.