andygrove commented on code in PR #945:
URL: https://github.com/apache/arrow-ballista/pull/945#discussion_r1438664339


##########
ballista/cache/src/listener/loading_cache.rs:
##########
@@ -145,7 +145,7 @@ where
     fn listen_on_get_if_present(&self, k: Self::K, v: Option<Self::V>) {
         if self.listeners.len() == 1 {
             self.listeners
-                .get(0)
+                .first()

Review Comment:
   Clippy



-- 
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