From 95c6161dcec9cdaada7e1507c6e536eeb7623ed4 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Sat, 20 Dec 2014 22:35:14 -0800 Subject: Update to rust master --- src/test/valid.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test') diff --git a/src/test/valid.rs b/src/test/valid.rs index e38cf5b..205e9e6 100644 --- a/src/test/valid.rs +++ b/src/test/valid.rs @@ -1,7 +1,7 @@ extern crate serialize; use std::num::strconv; -use std::collections::TreeMap; +use std::collections::BTreeMap; use self::serialize::json::{mod, Json}; use {Parser, Value}; @@ -9,7 +9,7 @@ use Value::{Table, Integer, Float, Boolean, Datetime, Array}; fn to_json(toml: Value) -> Json { fn doit(s: &str, json: Json) -> Json { - let mut map = TreeMap::new(); + let mut map = BTreeMap::new(); map.insert("type".to_string(), Json::String(s.to_string())); map.insert("value".to_string(), json); Json::Object(map) -- cgit v1.2.3