Skip to content

Commit

Permalink
Remove unused struct
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed May 25, 2024
1 parent a9bcee7 commit d7188f7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/lines.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d7188f7

Please sign in to comment.