aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEdward Barnard2015-08-30 12:51:56 +0700
committerEdward Barnard2015-08-30 12:51:56 +0700
commit67fecca0104fe0239462ec8092a08370878db5f3 (patch)
tree4b24106790b394b65b937d4a26776190503e5a15 /src
parentb27c11186b48a5ca0dc16e1e44edfd1fc2252f1f (diff)
downloadrust-plist-67fecca0104fe0239462ec8092a08370878db5f3.tar.bz2
Apparently not happening
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 374fef2..1216d17 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -34,7 +34,6 @@ use rustc_serialize::json::Json;
impl Plist {
pub fn into_json(self) -> Json {
match self {
- // TODO: Change to map_in_place once stable
Plist::Array(value) => Json::Array(value.into_iter().map(|p| p.into_json()).collect()),
Plist::Dictionary(value) => Json::Object(value.into_iter().map(|(k, v)| (k, v.into_json())).collect()),
Plist::Boolean(value) => Json::Boolean(value),