Fix issue in external subexpression paths (#3642)

* Fix issue in external subexpression paths

* new clippy dropped

* clippy
This commit is contained in:
JT
2021-06-18 07:59:58 +12:00
committed by GitHub
parent 6c2c16a971
commit d9d956e54f
159 changed files with 285 additions and 324 deletions

View File

@ -134,8 +134,7 @@ impl NuDataFrame {
from_parsed_columns(column_values, tag)
}
#[allow(clippy::clippy::wrong_self_convention)]
pub fn to_value(self, tag: Tag) -> Value {
pub fn into_value(self, tag: Tag) -> Value {
Value {
value: UntaggedValue::DataFrame(PolarsData::EagerDataFrame(self)),
tag,

View File

@ -98,8 +98,7 @@ impl NuSeries {
from_parsed_vector(vec_values, name)
}
#[allow(clippy::clippy::wrong_self_convention)]
pub fn to_value(self, tag: Tag) -> Value {
pub fn into_value(self, tag: Tag) -> Value {
Value {
value: UntaggedValue::DataFrame(PolarsData::Series(self)),
tag,