Clarify debug printing of LineNumber

pull/513/head
Wilfred Hughes 2023-04-30 09:29:08 +07:00
parent 98cc1b5745
commit b5cc0787f4
1 changed files with 1 additions and 1 deletions

@ -30,7 +30,7 @@ impl LineNumber {
impl fmt::Debug for LineNumber { impl fmt::Debug for LineNumber {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.write_fmt(format_args!( f.write_fmt(format_args!(
"LineNumber: {} (raw: {})", "LineNumber: {} (zero-indexed: {})",
self.one_indexed(), self.one_indexed(),
self.0 self.0
)) ))