Reports unzip
used to extract a single element.
The quick-fix replaces it with map
.
Example:
Seq((1, 11), (2, 22)).unzip._1
Seq((1, 11, 111), (2, 22, 222)).unzip3._1
After the quick-fix is applied:
Seq((1, 11), (2, 22)).map(_._1)
Seq((1, 11, 111), (2, 22, 222)).map(_._1)