diff --git a/lib/line-index/src/lib.rs b/lib/line-index/src/lib.rs index 622738ce8f..c3f352b5d1 100644 --- a/lib/line-index/src/lib.rs +++ b/lib/line-index/src/lib.rs @@ -209,7 +209,7 @@ impl LineIndex { } } } - Some(LineCol { line: line_col.line, col: col.into() }) + Some(LineCol { line: line_col.line, col }) } /// Returns an iterator over the ranges for the lines.