simonvandel commented on PR #9050:
URL: 
https://github.com/apache/arrow-datafusion/pull/9050#issuecomment-1915686537

   > what comes to my mind if we have a `let x = vec![0, 1, 2, 3]`
   > and call `s.swap_remove(0)` the remaining collection can be either 
`vec![3, 1, 2]` or `vec![3, 2, 1]`. So I'm wondering if it can be an issue, 
having potentially random element on calling subsequent `s.swap_remove(0)` ? 🤔
   
   There's also this 
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=9f1c30995ed62e56694195d6edb14db4
   
   The iterator returned by vec.into_iter() returns owned values.


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