Move to* and from* to engine-p (#3320)

* WIP

* Finish last batch
This commit is contained in:
JT
2021-04-15 19:43:33 +12:00
committed by GitHub
parent fd7875e572
commit f73732bf1e
49 changed files with 299 additions and 445 deletions

View File

@ -54,10 +54,10 @@ impl WholeStreamCommand for SubCommand {
fn operate(args: CommandArgs) -> Result<OutputStream, ShellError> {
let args = args.evaluate_once()?;
let precision: Option<Result<Tagged<i16>, ShellError>> = args.get_flag("precision");
let precision: Option<Tagged<i16>> = args.get_flag("precision")?;
let input = args.input;
let precision = if let Some(precision) = precision {
precision?.item
precision.item
} else {
0
};