Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-core/src/position.rs')
| -rw-r--r-- | helix-core/src/position.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/helix-core/src/position.rs b/helix-core/src/position.rs index cea0b607..3f888c57 100644 --- a/helix-core/src/position.rs +++ b/helix-core/src/position.rs @@ -89,11 +89,6 @@ impl From<(usize, usize)> for Position { } } -impl From<Position> for tree_sitter::Point { - fn from(pos: Position) -> Self { - Self::new(pos.row, pos.col) - } -} /// Convert a character index to (line, column) coordinates. /// /// column in `char` count which can be used for row:column display in |