summaryrefslogtreecommitdiff
path: root/src/syntax/span.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-07-26 17:28:43 +0200
committerLaurenz <laurmaedje@gmail.com>2020-07-26 17:28:43 +0200
commite2ef4f64e777f293a0408d0f60cfed9de69c7bb6 (patch)
tree616ae4474f0dec5cc70fe3fa46b5f3c4b305a1be /src/syntax/span.rs
parent0e8c2cad6e4fee283f8f2d6fb9a571173b59fda2 (diff)
Rename errors to problems and make error! macro more ergonomic 🧼
Also adds a `warning!` macro.
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 d19d4c18..9eb80d92 100644
--- a/src/syntax/span.rs
+++ b/src/syntax/span.rs
@@ -76,7 +76,7 @@ pub struct Span {
}
impl Span {
- /// A dummy span.
+ /// The zero span.
pub const ZERO: Span = Span { start: Position::ZERO, end: Position::ZERO };
/// Create a new span from start and end positions.