From e2ef4f64e777f293a0408d0f60cfed9de69c7bb6 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sun, 26 Jul 2020 17:28:43 +0200 Subject: =?UTF-8?q?Rename=20errors=20to=20problems=20and=20make=20error!?= =?UTF-8?q?=20macro=20more=20ergonomic=20=F0=9F=A7=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also adds a `warning!` macro. --- src/syntax/span.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/syntax/span.rs') 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. -- cgit v1.2.3