aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src
diff options
context:
space:
mode:
Diffstat (limited to 'helix-core/src')
-rw-r--r--helix-core/src/position.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-core/src/position.rs b/helix-core/src/position.rs
index 3902b4d4..04bf8c31 100644
--- a/helix-core/src/position.rs
+++ b/helix-core/src/position.rs
@@ -309,8 +309,8 @@ pub fn pos_at_visual_coords(text: RopeSlice, coords: Position, tab_width: usize)
/// on the visual line is returned if the visual line contains any text:
/// If the visual line at the specified offset is a virtual line generated by a `LineAnnotation`
/// the previous char_index is returned, together with the remaining vertical offset (`virtual_lines`)
-pub fn char_idx_at_visual_offset<'a>(
- text: RopeSlice<'a>,
+pub fn char_idx_at_visual_offset(
+ text: RopeSlice,
mut anchor: usize,
mut row_offset: isize,
column: usize,