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, }, );