mirror of
https://github.com/nushell/nushell.git
synced 2025-07-01 07:00:37 +02:00
refactor parser: rename method pub fn block to parse_block (#3047)
* refactor parser: rename method block to parse_block * nu-cli/src/completion/engine.rs block to parse_block
This commit is contained in:
@ -119,7 +119,7 @@ impl rustyline::validate::Validator for NuValidator {
|
||||
}
|
||||
}
|
||||
|
||||
let (_, err) = nu_parser::block(tokens);
|
||||
let (_, err) = nu_parser::parse_block(tokens);
|
||||
|
||||
if let Some(err) = err {
|
||||
if let nu_errors::ParseErrorReason::Eof { .. } = err.reason() {
|
||||
|
Reference in New Issue
Block a user