diff --git a/src/evaluate/operator.rs b/src/evaluate/operator.rs index 0915c222cb..8880630bcc 100644 --- a/src/evaluate/operator.rs +++ b/src/evaluate/operator.rs @@ -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), } } diff --git a/src/shell/help_shell.rs b/src/shell/help_shell.rs index f513781a90..9dafccd34b 100644 --- a/src/shell/help_shell.rs +++ b/src/shell/help_shell.rs @@ -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;