jecsand838 commented on code in PR #8385:
URL: https://github.com/apache/arrow-rs/pull/8385#discussion_r2361253313


##########
arrow-avro/src/codec.rs:
##########
@@ -1857,14 +1839,14 @@ mod tests {
             .expect("promotion should resolve")
     }
 
-    fn mk_primitive(pt: PrimitiveType) -> Schema<'static> {
+    fn mk_primitive<'a>(pt: PrimitiveType) -> Schema<'a> {
         Schema::TypeName(TypeName::Primitive(pt))

Review Comment:
   I hit these same issues. Dealing with `mk_primitive ` is initially what led 
me to make the others `static`. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to