From d7188f717861a4de524ac7a09d7639ab2cf52689 Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Sat, 25 May 2024 14:55:39 +0100 Subject: [PATCH] Remove unused struct --- src/lines.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/lines.rs b/src/lines.rs index 380c4d83c5..f6b1fb8a72 100644 --- a/src/lines.rs +++ b/src/lines.rs @@ -8,14 +8,6 @@ pub(crate) fn format_line_num(line_num: LineNumber) -> String { format!("{} ", line_num.display()) } -/// A position in a single line of a string. -#[derive(Debug, PartialEq, Clone, Copy)] -struct LinePosition { - /// Both zero-indexed. - pub(crate) line: LineNumber, - column: usize, -} - /// Return the length of `s` in bytes. /// /// This is a trivial wrapper to make it clear when we want bytes not