From 5f2b71d54da58b13d637e71d3b17704c355b1e0b Mon Sep 17 00:00:00 2001 From: Mehul Mathur Date: Sat, 5 Oct 2024 18:44:59 +0000 Subject: [PATCH] chore: fixed cargo check --- crates/proof-of-sql/src/base/database/owned_column.rs | 2 +- .../proof-of-sql/src/base/polynomial/multilinear_extension.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/proof-of-sql/src/base/database/owned_column.rs b/crates/proof-of-sql/src/base/database/owned_column.rs index 79ba92702..91f7d3862 100644 --- a/crates/proof-of-sql/src/base/database/owned_column.rs +++ b/crates/proof-of-sql/src/base/database/owned_column.rs @@ -313,7 +313,7 @@ impl<'a, S: Scalar> From<&Column<'a, S>> for OwnedColumn { Column::Int(col) => OwnedColumn::Int(col.to_vec()), Column::BigInt(col) => OwnedColumn::BigInt(col.to_vec()), Column::VarChar((col, _)) => { - OwnedColumn::VarChar(col.iter().map(std::string::ToString::to_string).collect()) + OwnedColumn::VarChar(col.iter().map(ToString::to_string).collect()) } Column::Int128(col) => OwnedColumn::Int128(col.to_vec()), Column::Decimal75(precision, scale, col) => { diff --git a/crates/proof-of-sql/src/base/polynomial/multilinear_extension.rs b/crates/proof-of-sql/src/base/polynomial/multilinear_extension.rs index c28b4b300..1668bac98 100644 --- a/crates/proof-of-sql/src/base/polynomial/multilinear_extension.rs +++ b/crates/proof-of-sql/src/base/polynomial/multilinear_extension.rs @@ -47,7 +47,7 @@ where let n = 1 << num_vars; assert!(n >= values.len()); let scalars = if_rayon!(values.par_iter(), values.iter()) - .map(std::convert::Into::into) + .map(Into::into) .chain(if_rayon!( rayon::iter::repeatn(Zero::zero(), n - values.len()), itertools::repeat_n(Zero::zero(), n - values.len())