Skip to content

Commit 1bdec1c

Browse files
authored
Remove unnecessary parentheses (nushell#9605)
# Description As seen on nightly
1 parent 7e39179 commit 1bdec1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/nu-parser/src/parse_keywords.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2812,7 +2812,7 @@ pub fn parse_let(working_set: &mut StateWorkingSet, spans: &[Span]) -> Pipeline
28122812
if item == b"=" && spans.len() > (span.0 + 1) {
28132813
let (tokens, parse_error) = lex(
28142814
working_set.get_span_contents(nu_protocol::span(&spans[(span.0 + 1)..])),
2815-
spans[(span.0 + 1)].start,
2815+
spans[span.0 + 1].start,
28162816
&[],
28172817
&[],
28182818
true,

0 commit comments

Comments
 (0)