@@ -1068,26 +1068,6 @@ cfg_if! {
10681068 }
10691069 }
10701070 impl Eq for sysinfo { }
1071- impl fmt:: Debug for sysinfo {
1072- fn fmt( & self , f: & mut fmt:: Formatter ) -> fmt:: Result {
1073- f. debug_struct( "sysinfo" )
1074- . field( "uptime" , & self . uptime)
1075- . field( "loads" , & self . loads)
1076- . field( "totalram" , & self . totalram)
1077- . field( "freeram" , & self . freeram)
1078- . field( "sharedram" , & self . sharedram)
1079- . field( "bufferram" , & self . bufferram)
1080- . field( "totalswap" , & self . totalswap)
1081- . field( "freeswap" , & self . freeswap)
1082- . field( "procs" , & self . procs)
1083- . field( "pad" , & self . pad)
1084- . field( "totalhigh" , & self . totalhigh)
1085- . field( "freehigh" , & self . freehigh)
1086- . field( "mem_unit" , & self . mem_unit)
1087- // FIXME(debug): .field("__reserved", &self.__reserved)
1088- . finish( )
1089- }
1090- }
10911071 impl hash:: Hash for sysinfo {
10921072 fn hash<H : hash:: Hasher >( & self , state: & mut H ) {
10931073 self . uptime. hash( state) ;
@@ -1118,14 +1098,6 @@ cfg_if! {
11181098 }
11191099 }
11201100 impl Eq for sockaddr_un { }
1121- impl fmt:: Debug for sockaddr_un {
1122- fn fmt( & self , f: & mut fmt:: Formatter ) -> fmt:: Result {
1123- f. debug_struct( "sockaddr_un" )
1124- . field( "sun_family" , & self . sun_family)
1125- // FIXME(debug): .field("sun_path", &self.sun_path)
1126- . finish( )
1127- }
1128- }
11291101 impl hash:: Hash for sockaddr_un {
11301102 fn hash<H : hash:: Hasher >( & self , state: & mut H ) {
11311103 self . sun_family. hash( state) ;
@@ -1145,15 +1117,6 @@ cfg_if! {
11451117 }
11461118 }
11471119 impl Eq for sockaddr_storage { }
1148- impl fmt:: Debug for sockaddr_storage {
1149- fn fmt( & self , f: & mut fmt:: Formatter ) -> fmt:: Result {
1150- f. debug_struct( "sockaddr_storage" )
1151- . field( "ss_family" , & self . ss_family)
1152- . field( "__ss_align" , & self . __ss_align)
1153- // FIXME(debug): .field("__ss_pad2", &self.__ss_pad2)
1154- . finish( )
1155- }
1156- }
11571120 impl hash:: Hash for sockaddr_storage {
11581121 fn hash<H : hash:: Hasher >( & self , state: & mut H ) {
11591122 self . ss_family. hash( state) ;
@@ -1191,17 +1154,6 @@ cfg_if! {
11911154 }
11921155 }
11931156 impl Eq for utsname { }
1194- impl fmt:: Debug for utsname {
1195- fn fmt( & self , f: & mut fmt:: Formatter ) -> fmt:: Result {
1196- f. debug_struct( "utsname" )
1197- // FIXME(debug): .field("sysname", &self.sysname)
1198- // FIXME(debug): .field("nodename", &self.nodename)
1199- // FIXME(debug): .field("release", &self.release)
1200- // FIXME(debug): .field("version", &self.version)
1201- // FIXME(debug): .field("machine", &self.machine)
1202- . finish( )
1203- }
1204- }
12051157 impl hash:: Hash for utsname {
12061158 fn hash<H : hash:: Hasher >( & self , state: & mut H ) {
12071159 self . sysname. hash( state) ;
@@ -1226,17 +1178,6 @@ cfg_if! {
12261178 }
12271179 }
12281180 impl Eq for dirent { }
1229- impl fmt:: Debug for dirent {
1230- fn fmt( & self , f: & mut fmt:: Formatter ) -> fmt:: Result {
1231- f. debug_struct( "dirent" )
1232- . field( "d_ino" , & self . d_ino)
1233- . field( "d_off" , & self . d_off)
1234- . field( "d_reclen" , & self . d_reclen)
1235- . field( "d_type" , & self . d_type)
1236- // FIXME(debug): .field("d_name", &self.d_name)
1237- . finish( )
1238- }
1239- }
12401181 impl hash:: Hash for dirent {
12411182 fn hash<H : hash:: Hasher >( & self , state: & mut H ) {
12421183 self . d_ino. hash( state) ;
@@ -1261,17 +1202,6 @@ cfg_if! {
12611202 }
12621203 }
12631204 impl Eq for dirent64 { }
1264- impl fmt:: Debug for dirent64 {
1265- fn fmt( & self , f: & mut fmt:: Formatter ) -> fmt:: Result {
1266- f. debug_struct( "dirent64" )
1267- . field( "d_ino" , & self . d_ino)
1268- . field( "d_off" , & self . d_off)
1269- . field( "d_reclen" , & self . d_reclen)
1270- . field( "d_type" , & self . d_type)
1271- // FIXME(debug): .field("d_name", &self.d_name)
1272- . finish( )
1273- }
1274- }
12751205 impl hash:: Hash for dirent64 {
12761206 fn hash<H : hash:: Hasher >( & self , state: & mut H ) {
12771207 self . d_ino. hash( state) ;
@@ -1291,16 +1221,6 @@ cfg_if! {
12911221 }
12921222 }
12931223 impl Eq for mq_attr { }
1294- impl fmt:: Debug for mq_attr {
1295- fn fmt( & self , f: & mut fmt:: Formatter ) -> fmt:: Result {
1296- f. debug_struct( "mq_attr" )
1297- . field( "mq_flags" , & self . mq_flags)
1298- . field( "mq_maxmsg" , & self . mq_maxmsg)
1299- . field( "mq_msgsize" , & self . mq_msgsize)
1300- . field( "mq_curmsgs" , & self . mq_curmsgs)
1301- . finish( )
1302- }
1303- }
13041224 impl hash:: Hash for mq_attr {
13051225 fn hash<H : hash:: Hasher >( & self , state: & mut H ) {
13061226 self . mq_flags. hash( state) ;
@@ -1318,15 +1238,6 @@ cfg_if! {
13181238 }
13191239 }
13201240 impl Eq for sockaddr_nl { }
1321- impl fmt:: Debug for sockaddr_nl {
1322- fn fmt( & self , f: & mut fmt:: Formatter ) -> fmt:: Result {
1323- f. debug_struct( "sockaddr_nl" )
1324- . field( "nl_family" , & self . nl_family)
1325- . field( "nl_pid" , & self . nl_pid)
1326- . field( "nl_groups" , & self . nl_groups)
1327- . finish( )
1328- }
1329- }
13301241 impl hash:: Hash for sockaddr_nl {
13311242 fn hash<H : hash:: Hasher >( & self , state: & mut H ) {
13321243 self . nl_family. hash( state) ;
@@ -1347,17 +1258,6 @@ cfg_if! {
13471258 }
13481259 }
13491260 impl Eq for sigevent { }
1350- impl fmt:: Debug for sigevent {
1351- fn fmt( & self , f: & mut fmt:: Formatter ) -> fmt:: Result {
1352- f. debug_struct( "sigevent" )
1353- . field( "sigev_value" , & self . sigev_value)
1354- . field( "sigev_signo" , & self . sigev_signo)
1355- . field( "sigev_notify" , & self . sigev_notify)
1356- . field( "sigev_notify_function" , & self . sigev_notify_function)
1357- . field( "sigev_notify_attributes" , & self . sigev_notify_attributes)
1358- . finish( )
1359- }
1360- }
13611261 impl hash:: Hash for sigevent {
13621262 fn hash<H : hash:: Hasher >( & self , state: & mut H ) {
13631263 self . sigev_value. hash( state) ;
@@ -1374,13 +1274,6 @@ cfg_if! {
13741274 }
13751275 }
13761276 impl Eq for pthread_cond_t { }
1377- impl fmt:: Debug for pthread_cond_t {
1378- fn fmt( & self , f: & mut fmt:: Formatter ) -> fmt:: Result {
1379- f. debug_struct( "pthread_cond_t" )
1380- // FIXME(debug): .field("size", &self.size)
1381- . finish( )
1382- }
1383- }
13841277 impl hash:: Hash for pthread_cond_t {
13851278 fn hash<H : hash:: Hasher >( & self , state: & mut H ) {
13861279 self . size. hash( state) ;
@@ -1393,13 +1286,6 @@ cfg_if! {
13931286 }
13941287 }
13951288 impl Eq for pthread_mutex_t { }
1396- impl fmt:: Debug for pthread_mutex_t {
1397- fn fmt( & self , f: & mut fmt:: Formatter ) -> fmt:: Result {
1398- f. debug_struct( "pthread_mutex_t" )
1399- // FIXME(debug): .field("size", &self.size)
1400- . finish( )
1401- }
1402- }
14031289 impl hash:: Hash for pthread_mutex_t {
14041290 fn hash<H : hash:: Hasher >( & self , state: & mut H ) {
14051291 self . size. hash( state) ;
@@ -1412,13 +1298,6 @@ cfg_if! {
14121298 }
14131299 }
14141300 impl Eq for pthread_rwlock_t { }
1415- impl fmt:: Debug for pthread_rwlock_t {
1416- fn fmt( & self , f: & mut fmt:: Formatter ) -> fmt:: Result {
1417- f. debug_struct( "pthread_rwlock_t" )
1418- // FIXME(debug): .field("size", &self.size)
1419- . finish( )
1420- }
1421- }
14221301 impl hash:: Hash for pthread_rwlock_t {
14231302 fn hash<H : hash:: Hasher >( & self , state: & mut H ) {
14241303 self . size. hash( state) ;
0 commit comments