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:
Michael Angerman
2021-02-12 12:31:11 -08:00
committed by GitHub
parent 617341f8d5
commit 011b7c4a07
9 changed files with 25 additions and 25 deletions

View File

@ -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() {