pub fn source_preview(src: &str, n: usize) -> String
Returns a preview of the source (first N chars).