Silence a clippy lint

pull/25/head
Wilfred Hughes 2021-03-07 14:11:17 +07:00
parent d14227fc1a
commit c6d0f97cda
1 changed files with 1 additions and 1 deletions

@ -17,7 +17,7 @@ fn term_width() -> Option<usize> {
}
fn index_map(lines: &[MatchedLine]) -> HashMap<usize, MatchedLine> {
lines.into_iter().map(|ml| (ml.line.number, *ml)).collect()
lines.iter().map(|ml| (ml.line.number, *ml)).collect()
}
/// Vertically concat the desired lines of `left` and `right`, lining