What's the ideal way to convert an array of tuple into a tuple of array?

Hi, guys
I want to convert Vec<(String, String)> into (Vec, Vec), what's the ideal way? Thanks

I just found unzip to suit my demand

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.