diff --git a/src/node.rs b/src/node.rs index 78f1a8ee..3d6a716c 100644 --- a/src/node.rs +++ b/src/node.rs @@ -229,6 +229,9 @@ impl fmt::Debug for Text { pub type Attributes = indexmap::IndexMap; /// A Map of attributes that doesn't preserve the order of the attributes. +/// +/// Please enable the `deterministic` feature for order-preserving +/// (de)serialization. #[cfg(not(feature = "deterministic"))] pub type Attributes = HashMap;