Remove optional Bounder trait bound
@@ -3,7 +3,7 @@ use serde::Serialize;
use std::marker::PhantomData;
#[cfg(feature = "iterator")]
-use crate::bound::{Bound, Bounder, PrefixBound};
+use crate::bound::{Bound, PrefixBound};
#[cfg(feature = "iterator")]
use crate::de::KeyDeserialize;
use crate::helpers::query_raw;
@@ -196,7 +196,7 @@ where
impl<'a, K, T> Map<'a, K, T>
where
T: Serialize + DeserializeOwned,
- K: PrimaryKey<'a> + Bounder<'a>,
+ K: PrimaryKey<'a>,
{
pub fn range_raw<'c>(
&self,
@@ -229,7 +229,7 @@ where
impl<'a, K, T> Map<'a, K, T>
where
T: Serialize + DeserializeOwned,
- K: PrimaryKey<'a> + KeyDeserialize + Bounder<'a>,
+ K: PrimaryKey<'a> + KeyDeserialize,
{
pub fn range<'c>(
&self,
@@ -270,6 +270,9 @@ mod test {
#[cfg(feature = "iterator")]
use cosmwasm_std::{Order, StdResult};
+ #[cfg(feature = "iterator")]
+ use crate::bound::Bounder;
+
use crate::int_key::CwIntKey;
#[cfg(feature = "iterator")]
use crate::IntKeyOld;
