Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'lib/line-index/src/lib.rs')
-rw-r--r--lib/line-index/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
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.