We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed45354 commit df31373Copy full SHA for df31373
src/libstd/json.rs
@@ -1162,18 +1162,6 @@ impl <A: ToJson Copy> LinearMap<~str, A>: ToJson {
1162
}
1163
1164
1165
-/*
1166
-impl <A: ToJson Copy> @std::map::HashMap<~str, A>: ToJson {
1167
- fn to_json() -> Json {
1168
- let mut d = LinearMap::new();
1169
- for self.each_ref |key, value| {
1170
- d.insert(copy *key, value.to_json());
1171
- }
1172
- Object(~d)
1173
1174
-}
1175
-*/
1176
-
1177
impl <A: ToJson> Option<A>: ToJson {
1178
fn to_json() -> Json {
1179
match self {
0 commit comments