File tree Expand file tree Collapse file tree 2 files changed +0
-52
lines changed
Expand file tree Collapse file tree 2 files changed +0
-52
lines changed Original file line number Diff line number Diff line change @@ -867,41 +867,6 @@ cfg_if! {
867867 self . absflat. hash( state) ;
868868 }
869869 }
870-
871- impl PartialEq for prop_info {
872- fn eq( & self , other: & prop_info) -> bool {
873- self . __name == other. __name
874- && self . __serial == other. __serial
875- && self . __value == other. __value
876- }
877- }
878- impl Eq for prop_info { }
879- impl fmt:: Debug for prop_info {
880- fn fmt( & self , f: & mut fmt:: Formatter ) -> fmt:: Result {
881- f. debug_struct( "prop_info" )
882- . field( "__name" , & self . __name)
883- . field( "__serial" , & self . __serial)
884- . field( "__value" , & self . __value)
885- . finish( )
886- }
887- }
888-
889- impl Eq for ethhdr { }
890-
891- impl PartialEq for ethhdr {
892- fn eq( & self , other: & ethhdr) -> bool {
893- self . h_dest
894- . iter( )
895- . zip( other. h_dest. iter( ) )
896- . all( |( a, b) | a == b)
897- && self
898- . h_source
899- . iter( )
900- . zip( other. h_source. iter( ) )
901- . all( |( a, b) | a == b)
902- && self . h_proto == other. h_proto
903- }
904- }
905870 }
906871}
907872
Original file line number Diff line number Diff line change @@ -562,23 +562,6 @@ cfg_if! {
562562 }
563563 }
564564 }
565-
566- impl Eq for ethhdr { }
567-
568- impl PartialEq for ethhdr {
569- fn eq( & self , other: & ethhdr) -> bool {
570- self . h_dest
571- . iter( )
572- . zip( other. h_dest. iter( ) )
573- . all( |( a, b) | a == b)
574- && self
575- . h_source
576- . iter( )
577- . zip( other. h_source. iter( ) )
578- . all( |( a, b) | a == b)
579- && self . h_proto == other. h_proto
580- }
581- }
582565 }
583566}
584567
You can’t perform that action at this time.
0 commit comments