From c87414e462da536eba2e1d7f08d5bf4785a857bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Tue, 21 Sep 2021 09:30:43 -0700 Subject: [PATCH] Fix issue with unexpected EOF rendering in miette --- crates/nu-parser/src/lex.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-parser/src/lex.rs b/crates/nu-parser/src/lex.rs index 867fdb4839..5d08d2dd8b 100644 --- a/crates/nu-parser/src/lex.rs +++ b/crates/nu-parser/src/lex.rs @@ -168,7 +168,7 @@ pub fn lex_item( (delim as char).to_string(), Span { start: span.end, - end: span.end + 1, + end: span.end, }, );