update WARN msg

This commit is contained in:
WindSoilder 2024-07-17 16:03:37 +08:00
parent f46a5cd9e1
commit eadaadf4f8
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ impl Command for Break {
r#"This command is a parser keyword. For details, check:
https://www.nushell.sh/book/thinking_in_nu.html
WARN: Don't try to use it in closure. Although it will raise error, statements before `break` will be executed"#
WARN: break should be used only in `while`, `loop`, `for`"#
}
fn command_type(&self) -> CommandType {

View File

@ -23,7 +23,7 @@ impl Command for Continue {
r#"This command is a parser keyword. For details, check:
https://www.nushell.sh/book/thinking_in_nu.html
WARN: Don't try to use it in closure. Although it will raise error, statements before `continue` will be executed"#
WARN: continue should be only used in `while`, `loop`, `for`"#
}
fn command_type(&self) -> CommandType {