@@ -1031,6 +1031,7 @@ unsafe fn as_tcp_stream<T: AsRawHandleOrSocket>(_t: &T, raw_socket: RawSocket) -
1031
1031
1032
1032
#[ cfg( not( windows) ) ]
1033
1033
impl fmt:: Debug for UnsafeHandle {
1034
+ #[ allow( clippy:: missing_inline_in_public_items) ]
1034
1035
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
1035
1036
// Just print the fd number; don't try to print the path or any
1036
1037
// information about it, because this information is otherwise
@@ -1043,6 +1044,7 @@ impl fmt::Debug for UnsafeHandle {
1043
1044
1044
1045
#[ cfg( windows) ]
1045
1046
impl fmt:: Debug for UnsafeHandle {
1047
+ #[ allow( clippy:: missing_inline_in_public_items) ]
1046
1048
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
1047
1049
// Just print the raw handle or socket; don't try to print the path or
1048
1050
// any information about it, because this information is otherwise
@@ -1055,6 +1057,7 @@ impl fmt::Debug for UnsafeHandle {
1055
1057
1056
1058
#[ cfg( not( windows) ) ]
1057
1059
impl fmt:: Debug for UnsafeFile {
1060
+ #[ allow( clippy:: missing_inline_in_public_items) ]
1058
1061
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
1059
1062
// As with `UnsafeHandle`, just print the raw fd number.
1060
1063
f. debug_struct ( "UnsafeFile" )
@@ -1065,6 +1068,7 @@ impl fmt::Debug for UnsafeFile {
1065
1068
1066
1069
#[ cfg( windows) ]
1067
1070
impl fmt:: Debug for UnsafeFile {
1071
+ #[ allow( clippy:: missing_inline_in_public_items) ]
1068
1072
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
1069
1073
// As with `UnsafeHandle`, just print the raw handle.
1070
1074
f. debug_struct ( "UnsafeFile" )
@@ -1075,6 +1079,7 @@ impl fmt::Debug for UnsafeFile {
1075
1079
1076
1080
#[ cfg( not( windows) ) ]
1077
1081
impl fmt:: Debug for UnsafeSocket {
1082
+ #[ allow( clippy:: missing_inline_in_public_items) ]
1078
1083
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
1079
1084
// As with `UnsafeHandle`, just print the raw fd number.
1080
1085
f. debug_struct ( "UnsafeSocket" )
@@ -1085,6 +1090,7 @@ impl fmt::Debug for UnsafeSocket {
1085
1090
1086
1091
#[ cfg( windows) ]
1087
1092
impl fmt:: Debug for UnsafeSocket {
1093
+ #[ allow( clippy:: missing_inline_in_public_items) ]
1088
1094
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
1089
1095
// As with `UnsafeHandle`, just print the raw socket.
1090
1096
f. debug_struct ( "UnsafeSocket" )
@@ -1095,6 +1101,7 @@ impl fmt::Debug for UnsafeSocket {
1095
1101
1096
1102
#[ cfg( not( windows) ) ]
1097
1103
impl fmt:: Debug for UnsafeReadable {
1104
+ #[ allow( clippy:: missing_inline_in_public_items) ]
1098
1105
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
1099
1106
// As with `UnsafeHandle`, just print the raw fd number.
1100
1107
f. debug_struct ( "UnsafeReadable" )
@@ -1105,6 +1112,7 @@ impl fmt::Debug for UnsafeReadable {
1105
1112
1106
1113
#[ cfg( windows) ]
1107
1114
impl fmt:: Debug for UnsafeReadable {
1115
+ #[ allow( clippy:: missing_inline_in_public_items) ]
1108
1116
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
1109
1117
// As with `UnsafeHandle`, just print the raw handle or socket.
1110
1118
f. debug_struct ( "UnsafeReadable" )
@@ -1115,6 +1123,7 @@ impl fmt::Debug for UnsafeReadable {
1115
1123
1116
1124
#[ cfg( not( windows) ) ]
1117
1125
impl fmt:: Debug for UnsafeWriteable {
1126
+ #[ allow( clippy:: missing_inline_in_public_items) ]
1118
1127
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
1119
1128
// As with `UnsafeHandle`, just print the raw fd number.
1120
1129
f. debug_struct ( "UnsafeWriteable" )
@@ -1125,6 +1134,7 @@ impl fmt::Debug for UnsafeWriteable {
1125
1134
1126
1135
#[ cfg( windows) ]
1127
1136
impl fmt:: Debug for UnsafeWriteable {
1137
+ #[ allow( clippy:: missing_inline_in_public_items) ]
1128
1138
fn fmt ( & self , f : & mut fmt:: Formatter ) -> fmt:: Result {
1129
1139
// As with `UnsafeHandle`, just print the raw handle or socket.
1130
1140
f. debug_struct ( "UnsafeWriteable" )
0 commit comments