@@ -132,7 +132,7 @@ impl<AF: AddressFamily> FSM<AF> {
132132 }
133133
134134 /// <https://www.rfc-editor.org/rfc/rfc6763#section-9>
135- fn handle_service_type_enumeration < ' a > (
135+ fn handle_service_type_enumeration (
136136 question : & dns_parser:: Question < ' _ > ,
137137 services : & ServicesInner ,
138138 mut builder : AnswerBuilder ,
@@ -152,6 +152,7 @@ impl<AF: AddressFamily> FSM<AF> {
152152 builder
153153 }
154154
155+ #[ allow( clippy:: too_many_lines) ]
155156 fn handle_question (
156157 & self ,
157158 question : & dns_parser:: Question < ' _ > ,
@@ -220,7 +221,7 @@ impl<AF: AddressFamily> FSM<AF> {
220221 Self :: handle_service_type_enumeration ( question, & services, builder) ;
221222 for svc in services. find_by_type ( & question. qname ) {
222223 builder =
223- builder. add_answer ( & svc. typ , QueryClass :: IN , DEFAULT_TTL , & svc. ptr_rr ( ) )
224+ builder. add_answer ( & svc. typ , QueryClass :: IN , DEFAULT_TTL , & svc. ptr_rr ( ) ) ;
224225 }
225226 let mut builder = builder. move_to :: < dns_parser:: Additional > ( ) ;
226227 for svc in services. find_by_type ( & question. qname ) {
@@ -276,7 +277,7 @@ impl<AF: AddressFamily> FSM<AF> {
276277 let interfaces = match get_if_addrs ( ) {
277278 Ok ( interfaces) => interfaces,
278279 Err ( err) => {
279- error ! ( "could not get list of interfaces: {}" , err ) ;
280+ error ! ( "could not get list of interfaces: {err}" ) ;
280281 vec ! [ ]
281282 }
282283 } ;
0 commit comments