Function skiff::error_handling::index_to_file_position[][src]

pub fn index_to_file_position(source: &str, index: usize) -> (usize, usize)
Expand description

Converts an index into a string into a line/column pair for that same string