mirror of
https://github.com/nushell/nushell
synced 2024-12-25 12:33:17 +00:00
formatting
This commit is contained in:
parent
d12c16a331
commit
1d5f13ddca
2 changed files with 7 additions and 3 deletions
|
@ -19,7 +19,9 @@ pub fn apply_operator(
|
|||
}
|
||||
Operator::Dot => Ok(UntaggedValue::boolean(false)),
|
||||
Operator::Contains => contains(left, right).map(UntaggedValue::boolean),
|
||||
Operator::NotContains => contains(left, right).map(Not::not).map(UntaggedValue::boolean),
|
||||
Operator::NotContains => contains(left, right)
|
||||
.map(Not::not)
|
||||
.map(UntaggedValue::boolean),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -3,11 +3,13 @@ use crate::commands::cp::CopyArgs;
|
|||
use crate::commands::mkdir::MkdirArgs;
|
||||
use crate::commands::mv::MoveArgs;
|
||||
use crate::commands::rm::RemoveArgs;
|
||||
use crate::data::{command_dict};
|
||||
use crate::data::command_dict;
|
||||
use crate::prelude::*;
|
||||
use crate::shell::shell::Shell;
|
||||
use nu_errors::ShellError;
|
||||
use nu_protocol::{Primitive, ReturnSuccess, ShellTypeName, TaggedDictBuilder, UntaggedValue, Value};
|
||||
use nu_protocol::{
|
||||
Primitive, ReturnSuccess, ShellTypeName, TaggedDictBuilder, UntaggedValue, Value,
|
||||
};
|
||||
use nu_source::Tagged;
|
||||
use std::ffi::OsStr;
|
||||
use std::path::PathBuf;
|
||||
|
|
Loading…
Reference in a new issue