Skip to main content

StmtLineRange

Function StmtLineRange 

Source
pub fn StmtLineRange(Stmt: &Stmt, Source: &str) -> Option<(usize, usize)>
Expand description

Given a Stmt::Local, return the byte range of the entire statement line in Source, including the trailing newline if present.