Fix comment issue and shadowing issue (#501)

This commit is contained in:
JT
2021-12-16 09:56:12 +11:00
committed by GitHub
parent aea2adc44a
commit 1d74d9c5ae
5 changed files with 80 additions and 29 deletions

View File

@ -91,7 +91,7 @@ pub enum ShellError {
#[diagnostic(code(nu::shell::nushell_failed), url(docsrs))]
NushellFailed(String),
#[error("Variable not found!!!")]
#[error("Variable not found")]
#[diagnostic(code(nu::shell::variable_not_found), url(docsrs))]
VariableNotFoundAtRuntime(#[label = "variable not found"] Span),