From da7abc7c046670ec3bd68515f60661a85701b75b Mon Sep 17 00:00:00 2001 From: Per <Per Lindgren> Date: Fri, 6 Sep 2019 13:44:27 +0200 Subject: [PATCH] more examples (polish) --- examples/main_span_expr.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/main_span_expr.rs b/examples/main_span_expr.rs index 139857a..6df08da 100644 --- a/examples/main_span_expr.rs +++ b/examples/main_span_expr.rs @@ -93,7 +93,6 @@ fn main() { println!("pretty e {}", dump_expr(&(s, e))); } -// // In this example, we have a `parse_expr_ms` is the "top" level parser. // It consumes white spaces, allowing the location information to reflect the exact // positions in the input file. @@ -101,4 +100,4 @@ fn main() { // The dump_expr will create a pretty printing of the expression with spans for // each terminal. This will be useful for later for precise type error reporting. // -// The exrtra field is not used, it can be used for metadata, such as filename. +// The extra field is not used, it can be used for metadata, such as filename. -- GitLab