diff --git a/pallets/subtensor/src/math.rs b/pallets/subtensor/src/math.rs index 557664e51..489002ed6 100644 --- a/pallets/subtensor/src/math.rs +++ b/pallets/subtensor/src/math.rs @@ -7,6 +7,7 @@ use sp_std::cmp::Ordering; use sp_std::vec; use substrate_fixed::transcendental::{exp, ln}; use substrate_fixed::types::{I32F32, I64F64}; +use crate::alloc::borrow::ToOwned; // TODO: figure out what cfg gate this needs to not be a warning in rustc #[allow(unused)]