armanriazi•rust•panicked•'index out of bounds: the len is 0 but the index is 0'
//you to initilizing Vectors even empty
let mut ctx: Vec<Vec<(usize, String)>> = Vec::new();
let v = Vec::with_capacity(2*context_lines + 1);
// <4> <5> `Vec::with_capacity(_n_)` reserves space for _n_ items
ctx.push(v);