File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -302,28 +302,6 @@ macro_rules! object {
302
302
} )
303
303
}
304
304
305
- // macro_rules! partial_eq {
306
- // ($to:ident, $from:ty, $self_cast:expr => $from_cast:expr) => {
307
- // impl PartialEq<$from> for JsonValue {
308
- // fn eq(&self, other: &$from) -> bool {
309
- // match *self {
310
- // JsonValue::$to(ref value) => value == $from_cast,
311
- // _ => false
312
- // }
313
- // }
314
- // }
315
-
316
- // impl<'a> PartialEq<JsonValue> for $from {
317
- // fn eq(&self, other: &JsonValue) -> bool {
318
- // match *other {
319
- // JsonValue::$to(ref value) => value == $self_cast,
320
- // _ => false
321
- // }
322
- // }
323
- // }
324
- // }
325
- // }
326
-
327
305
macro_rules! implement_extras {
328
306
( $from: ty) => {
329
307
impl From <Option <$from>> for JsonValue {
You can’t perform that action at this time.
0 commit comments