Function k9::snapshot::source_code::extract_range[][src]

pub fn extract_range(s: &str, range: &Range) -> String
Expand description

Given a source file, extract a substring from it at the given range