mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 05:58:01 +00:00
Replace TreeMap with BTreeMap in the serde2
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
use std::collections::TreeMap;
|
||||
use std::collections::BTreeMap;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -491,7 +491,7 @@ impl<
|
||||
impl<
|
||||
K: Serialize + Ord,
|
||||
V: Serialize,
|
||||
> Serialize for TreeMap<K, V> {
|
||||
> Serialize for BTreeMap<K, V> {
|
||||
#[inline]
|
||||
fn visit<
|
||||
S,
|
||||
|
||||
Reference in New Issue
Block a user