diff --git a/lib/src/dbs/variables.rs b/lib/src/dbs/variables.rs index 8a3b07ad..a046f9f9 100644 --- a/lib/src/dbs/variables.rs +++ b/lib/src/dbs/variables.rs @@ -1,8 +1,8 @@ use crate::ctx::Context; use crate::sql::value::Value; -use std::collections::HashMap; +use std::collections::BTreeMap; -pub type Variables = Option>; +pub type Variables = Option>; pub(crate) trait Attach { fn attach(self, ctx: Context) -> Context; diff --git a/src/mac/mod.rs b/src/mac/mod.rs index 739dac56..85307b3d 100644 --- a/src/mac/mod.rs +++ b/src/mac/mod.rs @@ -1,6 +1,6 @@ macro_rules! map { ($($k:expr => $v:expr),* $(,)?) => {{ - let mut m = ::std::collections::HashMap::new(); + let mut m = ::std::collections::BTreeMap::new(); $(m.insert($k, $v);)+ m }};