From a05592d83a4d092538df05f2b9aa3dde41f79b31 Mon Sep 17 00:00:00 2001 From: feltroidprime Date: Wed, 16 Oct 2024 10:47:29 +0700 Subject: [PATCH] Fix wasm target compilation. --- math/src/polynomial/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/math/src/polynomial/mod.rs b/math/src/polynomial/mod.rs index 163d0bb30..679a83aec 100644 --- a/math/src/polynomial/mod.rs +++ b/math/src/polynomial/mod.rs @@ -1,8 +1,8 @@ use super::field::element::FieldElement; use crate::field::traits::{IsField, IsPrimeField, IsSubFieldOf}; -use alloc::{borrow::ToOwned, vec, vec::Vec}; +use alloc::string::{String, ToString}; +use alloc::{borrow::ToOwned, format, vec, vec::Vec}; use core::{fmt::Display, ops}; - pub mod dense_multilinear_poly; mod error; pub mod sparse_multilinear_poly;