summaryrefslogtreecommitdiff
path: root/src/syntax/span.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax/span.rs')
-rw-r--r--src/syntax/span.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax/span.rs b/src/syntax/span.rs
index bbb6a206..9bf7cafb 100644
--- a/src/syntax/span.rs
+++ b/src/syntax/span.rs
@@ -71,7 +71,7 @@ debug_display!(Span);
/// A line-column position in source code.
#[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]
pub struct Position {
- /// The 1-indexed line (inclusive).
+ /// The 0-indexed line (inclusive).
pub line: usize,
/// The 0-indexed column (inclusive).
pub column: usize,