Fix clippy lint and disable broken lint (#3865)

This commit is contained in:
JT
2021-07-30 08:11:47 +12:00
committed by GitHub
parent 9696e4d315
commit e602647d4d
28 changed files with 52 additions and 52 deletions

View File

@ -186,7 +186,7 @@ pub fn compute_between_series(
let mut res = l.bitand(r).into_series();
let name = format!("and_{}_{}", lhs.name(), rhs.name());
res.rename(name.as_ref());
Ok(NuDataFrame::series_to_untagged(res, &operation_span))
Ok(NuDataFrame::series_to_untagged(res, operation_span))
}
_ => Ok(UntaggedValue::Error(ShellError::labeled_error(
"Casting error",
@ -211,7 +211,7 @@ pub fn compute_between_series(
let mut res = l.bitor(r).into_series();
let name = format!("or_{}_{}", lhs.name(), rhs.name());
res.rename(name.as_ref());
Ok(NuDataFrame::series_to_untagged(res, &operation_span))
Ok(NuDataFrame::series_to_untagged(res, operation_span))
}
_ => Ok(UntaggedValue::Error(ShellError::labeled_error(
"Casting error",

View File

@ -136,7 +136,7 @@ impl PartialEq for NuDataFrame {
_ => self_series.clone(),
};
if !self_series.series_equal(&other_series) {
if !self_series.series_equal(other_series) {
return false;
}
}