Function codespan_lsp::byte_index_to_position[][src]

pub fn byte_index_to_position<S>(
    source: &FileMap<S>,
    pos: ByteIndex
) -> Result<Position, Error> where
    S: AsRef<str>,