Update crates/nu-parser/src/lex.rs

Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
This commit is contained in:
Wind 2024-07-09 09:02:30 +08:00 committed by GitHub
parent 19de459730
commit 808a265d53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -653,7 +653,7 @@ fn try_lex_special_piped_item(
return (
None,
Some(ParseError::Expected(
"`|`. Redirection stdout to pipe is the same as piping directly.",
"`|`. Redirecting stdout to a pipe is the same as normal piping.",
Span::new(span_offset + offset, span_offset + offset + o_pipe_len),
)),
);